DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,'关注'),colorwhite;
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),L,1) ;
DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2);
MID:=REF(HIGH+LOW,1)/2;
JJ :=(C*2+H+L)/4;
SKK :( EMA(JJ,13) - EMA(JJ,21))*180,COLORFFFFFF,LINETHICK2;
SDD : EMA(SKK,3),COLOR00FFFF,LINETHICK2;
多方: (SKK-SDD)*0.5,colorred,LINETHICK2;
空方: -1*(SKK-SDD)*0.5,colorgreen,LINETHICK2;
RC:=DYNAINFO(3);
RC,colorwhite;
SK:=(SLOPE(EMA(JJ,2),7)*15+JJ)*0.8*0.0001;
SD:=EMA(SK,2);
SJ:=2.8*SK-1.8*SD;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6)*15*4*1.5;
STICKLINE(SK>SD AND DK
STICKLINE(DK>0 AND SK
STICKLINE(CROSS(多方,空方),RC,RC+DK,2,0),coloryellow;
STICKLINE(CROSS(空方,多方),RC,RC+DK,2,0),colorgreen;
STICKLINE(DK<0 AND 多方<空方 AND SK
DRAWICON(CROSS(SDD,SKK) AND (SDD>65),SDD+0.1,2);
VAR1:=IF(DATE>=1990601,0,1);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF (ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF (ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF (ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF (ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF (ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF (ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
黑码:(VAR10)*8,colorred,LINETHICK2;
买入:(VAR11+VAR13+VAR15+VAR17)*12,coloryellow,LINETHICK2;
抄底:(买入>16 AND REF(黑码,1)>8)*18,STICK,LINETHICK4,COLORDB70DB;
卖出:(VAR12+VAR14+VAR16+VAR18)*12,colorgreen,LINETHICK2;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1),(-6),0,1,0),COLOR0000FF;
DRAWTEXT((VARC=1),(-6.5),'底。买'),COLOR0000FF;
STICKLINE((VARD=1),8,0,1,0),COLOR00FF00;
DRAWTEXT((VARD=1),8.5,'顶。卖'),COLOR00FF00;