大智慧长短趋势指标公式

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),COLOR0000ff;

STICKLINE(XYS0<0,XYS0,0,2,0),COLOrffff00;

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;

{指标网-股票公式网站 wwW.gupang.com}

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

ZZX:0,COLORWHITE;

STICKLINE(XYSHSL>6.1 AND cys13>5 ,2 ,0 ,2 ,0 ),COLORGREEN;

STICKLINE(XYSHSL>3.8 AND CYS13>5 ,1.5 ,0 ,2 ,0 ),COLORYELLOW;

STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLORCYAN;

STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLORBLUE;

XYS1:MA(XYS0,2),COLOR00ff00;

XYS2:MA(XYS0,1),COLOR00ffff;

STICKLINE(cross(XYS2,XYS1) , 0.2 ,0 ,6,0 ),COLOR00ffff;

STICKLINE(XYS2>XYS1 AND 0>XYS2 ,XYS2 ,0 ,4 ,0),COLORff00ff;

STICKLINE(XYS2<XYS1 AND 0<XYS2 ,XYS2 ,0 ,4 ,1),COLOR00ff00;

STICKLINE(cross(XYS1,XYS2) and XYS2>0 ,XYS2 ,0 ,4 ,0),COLOR00ff00;

DRAWTEXT(cross(XYS2,XYS1) ,0,'准'),COLOR00ffff,LINETHICK2;

FILLRGN(XYS2,XYS1,XYS2>XYS1,RGB(250,200,50),XYS2<XYS1,RGB(0,155,0));

{庄家克星}

庄1:=(CLOSE*2+HIGH+LOW)*2;

庄2:= EMA(庄1,13)-EMA(庄1,21);

庄3:= EMA(庄2,2);

庄:=cross(庄2,庄3);

FILLRGN(庄2,庄3,庄2>庄3,RGB(250,100,0),庄2<庄3,RGB(0,155,0));

{智勇出击}

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

S1:=IF(C<REF(O,1) AND F<0,1,0);

S2:=IF(C<REF(O,2) AND F<0,1,0);

A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(zig(3,3) ,REF(ZIG(3 ,3),1));

A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));

A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));

STICKLINE(A1 AND A2 ,0,2.5,3,0),COLORGREEN;

STICKLINE(A1 AND A2 ,0,1,3,0),COLORBLUE;

STICKLINE(A1 AND A2 AND A3,0,2,3,0),COLORYELLOW;

STICKLINE(A1 AND A2 AND A3,0,1.5,3,0),COLORFF00FF;

STICKLINE(A1 AND A2 AND A3,0,1,3,0),COLORBLUE;

DRAWTEXT(A3=1,1.8,' 长攻!'),COLORYELLOW;

智勇出击: ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<REF(ZIG

(3,6),2),COLORWHITE,LINETHICK2;

DRAWTEXT(智勇出击=1,0.8,'突袭!'),COLORWHITE;