STICKLINE(VAR1>20 AND VAR1<80,VAR1,VAR1,10,1),colorred;
STICKLINE(VAR1STICKLINE(VAR1>80,VAR1,VAR1,8,1),COLOR00FF00;
STICKLINE(VAR1<20,VAR1,VAR1,8,1),coloryellow;
V0:=EMA(C,5);{九毛八公式指标www.9m8.cn}
V1:=EMA(C,10);
V2:=EMA(C,15);
V3:=EMA(C,30);
V4:=EMA(C,60);
M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;
M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;
M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;
M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);
M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);
粘合:IF(M4 OR M5,40,0),coloryellow,POINTDOT;
STICKLINE(粘合,40,0,5,1),coloryellow;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破盘整:IF(W4 AND COUNT(W4,5)=1,35,0),COLORFF00FF,POINTDOT;
STICKLINE(突破盘整,45,0,5,0),COLORFF00FF;