智能辅佐线目标公式源码

智能辅佐线:

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;

马线:MA(牛线,6),COLORGREEN;

五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;

水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;

是主图公式。

这还有几个航海家的目标:

{水手打破}

上趋势:MA(LOW,20)*1.2,color0080ff,linethick2;

次上趋势:MA(LOW,20)*1.1,COLORYELLOW;

次下趋势:MA(HIGH,20)*0.9,COLORWHITE;

下趋势:MA(HIGH,20)*0.8,COLORGREEN,linethick2;

ZD:=(C-REF(C,1))/REF(C,1)*100;

HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));

趋势强度:=IF(C次上趋势,IF(C上趋势,4,3),IF(C次下趋势ANDC次上趋势,2,IF(C下趋势,0,1)));

STICKLINE(趋势强度=0,H,L,6,1),COLORBLUE;

STICKLINE(趋势强度=1,H,L,6,1),COLORGREEN;

STICKLINE(趋势强度=2,H,L,6,1),COLORGRAY;

STICKLINE(趋势强度=3,H,L,6,1),COLORYELLOW;

STICKLINE(趋势强度=4,H,L,6,1),COLORMAGENTA;

STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;

STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;

STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;

STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;

STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;

代码:

{智能辅佐线1}

{主图}

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;

马线:MA(牛线,6),COLORGREEN;

五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;

水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;

代码:

{智能辅佐2}

{主图叠加}

HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

HHJSJDB:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(HHJsjda,3)+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)

+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJsjda,10)+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)

+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJsjda,16)+3*REF(HHJsjda,17)+2*REF(HHJsjda,18)+

REF(HHJsjda,20))/210,coloryellow;

HHJSJDC:MA(HHJSJDB,5),colorred;

代码:

{主力追寻}

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+

16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+

13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+

10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+

7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+

4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;

代码:

{捕捉时节}

WY1001:=(2*CLOSE+HIGH+LOW)/4;

WY1002:=EMA(WY1001,4);

WY1003:=EMA(WY1002,4);

WY1004:=EMA(WY1003,4);

XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;

STICKLINE(XYS0=0,XYS0,0,2,0),COLORRED;

STICKLINE(XYS00,XYS0,0,2,0),COLORGREEN;

PJGJ:=AMOUNT/VOL/100;

SSRYDJX:=MA(PJGJ,13);

SSRCJL:=EMA(VOL,13);

SSRCJE:=EMA(AMOUNT,13);

SSRCBJX:=SSRCJE/SSRCJL/100;

CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;

XYSHSL:=EMA(VOL/CAPITAL*100,13);

ZZX:0,COLORWHITE;

STICKLINE(XYSHSL6.1ANDCYS135,2,0,2,0),COLORGREEN;

STICKLINE(XYSHSL3.8ANDCYS135,1.5,0,2,0),COLORYELLOW;

STICKLINE(XYSHSL2.1ANDCYS135,1,0,2,0),COLORCYAN;

STICKLINE(XYSHSL1.8ANDCYS135,0.5,0,2,0),COLORBLUE;

XYS1:MA(XYS0,2);

XYS2:MA(XYS0,1);

代码:

{海洋追涨}

HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)

+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)

+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+

REF(HHJSJDA,20))/210;

HHJSJDC:=MA(HHJSJDB,5);

QQ1:=MA(MA(CLOSE,3),3);

QQ2:=MA(MA(CLOSE,15),9);

XYSQS1:=(QQ1-REF(QQ1,1))/REF(QQ1,1)*100;

XYSQS2:=(QQ2-REF(QQ2,1))/REF(QQ2,1)*100;

XYSHSL:=EMA(VOL/CAPITAL*100,13);

STICKLINE(XYSQS2=REF(XYSQS2,1)ANDXYSHSL1,0,40,2,0),COLORYELLOW;

STICKLINE(XYSQS2=REF(XYSQS2,1)ANDXYSHSL1ANDCHHJSJDBAND

HHJSJDBHHJSJDC,41,88,2,0),COLORRED;

IF(XYSQS2=REF(XYSQS2,1)ANDXYSHSL1,XYSQS1*178,0);

代码:

{海洋寻底}

P1:=5;

P2:=4;

SSRCJL:=EMA(VOL,13);

SSRCJE:=EMA(AMOUNT,13);

SSRCBJX:=((SSRCJE/SSRCJL)/100);

SSRGL:=(((CLOSE-SSRCBJX)/SSRCBJX)*100);

肯定底:=SSRGL(0-18);

大底:=SSRGL(0-14);

中底:=SSRGL(0-10);

短底:=SSRGL(0-6);

STICKLINE((SSRGL(0-18)),60,80,3,0),COLORRED;

STICKLINE((SSRGL(0-14)),40,60,3,0),COLORBLUE;

STICKLINE((SSRGL(0-10)),20,40,3,0),COLORYELLOW;

STICKLINE((SSRGL(0-6)),0,20,3,0),COLORWHITE;

高卖:80,POINTDOT,COLORRED;

低吸:20,POINTDOT,COLORGREEN;

VAR1:=LLV(LOW,P1);

VAR2:=HHV(HIGH,P1);

牛线:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;

马线:EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;

代码:

{分时生意}

{主图叠加}

input:p1(5,0,300),p2(10,0,300),p3(30,0,300),p4(60,0,300);

MA1:MA(CLOSE,P1);

MA2:MA(CLOSE,P2);

MA3:MA(CLOSE,P3);

MA4:MA(CLOSE,P4);

wyA001:=(2*Close+High+Low)/4;

wyA002:=EMA(wyA001,4);

wyA003:=EMA(wyA002,4);

wyA004:=EMA(wyA003,4);

wyA柱:=(wyA004-REF(wyA004,1))/REF(wyA004,1)*100;

wyA线1:=MA(wyA柱,2);

wyA线2:=MA(wyA柱,1);

wy分时1线:=MA(CLOSE,1);

wy分时21线:=MA(CLOSE,21);

DRAWICON(WYA线10.25ANDWYA线20.25ANDCROSS(WYA线1,WYA线2),high*1.0128,9);

DRAWICON(WYA线10ANDWYA线20ANDCROSS(WYA线1,WYA线2),high*1.0128,9);

DRAWICON(CROSS(wy分时21线,wy分时1线),high*1.0128,9);

DRAWICON(WYA线1-0.25ANDWYA线2-0.25ANDCROSS(WYA线2,WYA线1),LOW,8);

DRAWICON(WYA线10ANDWYA线20ANDCROSS(WYA线2,WYA线1),LOW,8),coloryellow;

DRAWICON(cross(wy分时1线,wy分时21线),low,8),coloryellow;

这些目标其实都不怎么样,不要迷信目标。

智能辅佐线目标公式源码手机版

智能辅佐线:

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;

马线:MA(牛线,6),COLORGREEN;

五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;

水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;

是主图公式。

这还有几个航海家的目标:

{水手打破}

上趋势:MA(LOW,20)*1.2,color0080ff,linethick2;

次上趋势:MA(LOW,20)*1.1,COLORYELLOW;

次下趋势:MA(HIGH,20)*0.9,COLORWHITE;

下趋势:MA(HIGH,20)*0.8,COLORGREEN,linethick2;

ZD:=(C-REF(C,1))/REF(C,1)*100;

HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));

趋势强度:=IF(C次上趋势,IF(C上趋势,4,3),IF(C次下趋势ANDC次上趋势,2,IF(C下趋势,0,1)));

STICKLINE(趋势强度=0,H,L,6,1),COLORBLUE;

STICKLINE(趋势强度=1,H,L,6,1),COLORGREEN;

STICKLINE(趋势强度=2,H,L,6,1),COLORGRAY;

STICKLINE(趋势强度=3,H,L,6,1),COLORYELLOW;

STICKLINE(趋势强度=4,H,L,6,1),COLORMAGENTA;

STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;

STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;

STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;

STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;

STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;

代码:

{智能辅佐线1}

{主图}

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;

马线:MA(牛线,6),COLORGREEN;

五日线:MA(CLOSE,5),POINTDOT,COLORLIBLUE;

水平面:MA(CLOSE,60),POINTDOT,COLORYELLOW;

代码:

{智能辅佐2}

{主图叠加}

HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

HHJSJDB:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(HHJsjda,3)+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)

+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJsjda,10)+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)

+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJsjda,16)+3*REF(HHJsjda,17)+2*REF(HHJsjda,18)+

REF(HHJsjda,20))/210,coloryellow;

HHJSJDC:MA(HHJSJDB,5),colorred;

代码:

{主力追寻}

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+

16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+

13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+

10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+

7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+

4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;

代码:

{捕捉时节}

WY1001:=(2*CLOSE+HIGH+LOW)/4;

WY1002:=EMA(WY1001,4);

WY1003:=EMA(WY1002,4);

WY1004:=EMA(WY1003,4);

XYS0:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;

STICKLINE(XYS0=0,XYS0,0,2,0),COLORRED;

STICKLINE(XYS00,XYS0,0,2,0),COLORGREEN;

PJGJ:=AMOUNT/VOL/100;

SSRYDJX:=MA(PJGJ,13);

SSRCJL:=EMA(VOL,13);

SSRCJE:=EMA(AMOUNT,13);

SSRCBJX:=SSRCJE/SSRCJL/100;

CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;

XYSHSL:=EMA(VOL/CAPITAL*100,13);

ZZX:0,COLORWHITE;

STICKLINE(XYSHSL6.1ANDCYS135,2,0,2,0),COLORGREEN;

STICKLINE(XYSHSL3.8ANDCYS135,1.5,0,2,0),COLORYELLOW;

STICKLINE(XYSHSL2.1ANDCYS135,1,0,2,0),COLORCYAN;

STICKLINE(XYSHSL1.8ANDCYS135,0.5,0,2,0),COLORBLUE;

XYS1:MA(XYS0,2);

XYS2:MA(XYS0,1);

代码:

{海洋追涨}

HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)

+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)

+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+

REF(HHJSJDA,20))/210;

HHJSJDC:=MA(HHJSJDB,5);

QQ1:=MA(MA(CLOSE,3),3);

QQ2:=MA(MA(CLOSE,15),9);

XYSQS1:=(QQ1-REF(QQ1,1))/REF(QQ1,1)*100;

XYSQS2:=(QQ2-REF(QQ2,1))/REF(QQ2,1)*100;

XYSHSL:=EMA(VOL/CAPITAL*100,13);

STICKLINE(XYSQS2=REF(XYSQS2,1)ANDXYSHSL1,0,40,2,0),COLORYELLOW;

STICKLINE(XYSQS2=REF(XYSQS2,1)ANDXYSHSL1ANDCHHJSJDBAND

HHJSJDBHHJSJDC,41,88,2,0),COLORRED;

IF(XYSQS2=REF(XYSQS2,1)ANDXYSHSL1,XYSQS1*178,0);

代码:

{海洋寻底}

P1:=5;

P2:=4;

SSRCJL:=EMA(VOL,13);

SSRCJE:=EMA(AMOUNT,13);

SSRCBJX:=((SSRCJE/SSRCJL)/100);

SSRGL:=(((CLOSE-SSRCBJX)/SSRCBJX)*100);

肯定底:=SSRGL(0-18);

大底:=SSRGL(0-14);

中底:=SSRGL(0-10);

短底:=SSRGL(0-6);

STICKLINE((SSRGL(0-18)),60,80,3,0),COLORRED;

STICKLINE((SSRGL(0-14)),40,60,3,0),COLORBLUE;

STICKLINE((SSRGL(0-10)),20,40,3,0),COLORYELLOW;

STICKLINE((SSRGL(0-6)),0,20,3,0),COLORWHITE;

高卖:80,POINTDOT,COLORRED;

低吸:20,POINTDOT,COLORGREEN;

VAR1:=LLV(LOW,P1);

VAR2:=HHV(HIGH,P1);

牛线:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;

马线:EMA(0.667*REF(牛线,1)+0.333*牛线,2),COLORGREEN,LINETHICK1;

代码:

{分时生意}

{主图叠加}

input:p1(5,0,300),p2(10,0,300),p3(30,0,300),p4(60,0,300);

MA1:MA(CLOSE,P1);

MA2:MA(CLOSE,P2);

MA3:MA(CLOSE,P3);

MA4:MA(CLOSE,P4);

wyA001:=(2*Close+High+Low)/4;

wyA002:=EMA(wyA001,4);

wyA003:=EMA(wyA002,4);

wyA004:=EMA(wyA003,4);

wyA柱:=(wyA004-REF(wyA004,1))/REF(wyA004,1)*100;

wyA线1:=MA(wyA柱,2);

wyA线2:=MA(wyA柱,1);

wy分时1线:=MA(CLOSE,1);

wy分时21线:=MA(CLOSE,21);

DRAWICON(WYA线10.25ANDWYA线20.25ANDCROSS(WYA线1,WYA线2),high*1.0128,9);

DRAWICON(WYA线10ANDWYA线20ANDCROSS(WYA线1,WYA线2),high*1.0128,9);

DRAWICON(CROSS(wy分时21线,wy分时1线),high*1.0128,9);

DRAWICON(WYA线1-0.25ANDWYA线2-0.25ANDCROSS(WYA线2,WYA线1),LOW,8);

DRAWICON(WYA线10ANDWYA线20ANDCROSS(WYA线2,WYA线1),LOW,8),coloryellow;

DRAWICON(cross(wy分时1线,wy分时21线),low,8),coloryellow;

这些目标其实都不怎么样,不要迷信目标。