Z180:=100*(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9));
Z182:=IF(Z180>78,1,0);
DRAWTEXT(Z182=1,WZ100,'试'),COLORYELLOW;
平台线:HHV(CLOSE,176)*0.93,COLORRED,LINETHICK3;
Z184:=100*WINNER(CLOSE)-Z180;
Z186:=IF(Z184>35 AND(CLOSE>平台线),1,0);
DRAWTEXT(Z186=1,WZ100,'攻'),COLORMAGENTA;
G100:=FORCAST(CLOSE,3);
G102:EMA(EMA(G100,21),8),COLORYELLOW;
G104:EMA(EMA(G100,27),8),COLORYELLOW;
G106:EMA(EMA(G100,34),8),COLORYELLOW;
G112:EMA(EMA(G100,55),21),COLORBLUE;
G114:EMA(EMA(G100,71),21),COLORBLUE;
G116:EMA(EMA(G100,89),21),COLORBLUE;
G122:EMA(EMA(G100,168),55),COLORWHITE;
G124:EMA(EMA(G100,199),55),COLORWHITE;
G126:EMA(EMA(G100,233),55),COLORWHITE;
G128:EMA(EMA(G100,276),55),COLORWHITE;
D131:=EMA(FORCAST(CLOSE,9),5);
D130:=FORCAST(CLOSE,9)*0.99;
D160:=IF(D131< REF(D131,1),1,0);
IF(D160=0,D131,DRAWNULL),COLORMAGENTA,LINETHICK3;
D161:=IF(D131< REF(D131,1)&&(REF(D131,1)>REF(D131,2)),1,0);
DRAWTEXT(D161=1,D130*1.09,'走');
B110:=IF(D131>REF(D131,1)&&(CLOSE< G112)&&(CLOSE>G128),1,0);
DRAWTEXT(B110=1,WZ100*0.98,'加'),COLORRED;
B120:=HHV(CLOSE,0)*0.9;
M100:=FORCAST(CLOSE,9)*0.98;
M101:=IF(M100< REF(M100,1),M100*0.99,M100);
M1012:=IF(M101< REF(M101,1),1,0);
M1013:=IF(M101< REF(M101,1) AND REF(M101,1)>REF(M101,2),1,0);
M1014:=IF(M101>REF(M101,1)&&D131< REF(D131,1),1,0);
IF(M1014=1,REF(D131,1),DRAWNULL),COLORMAGENTA,LINETHICK3;
M102:=IF(M100>=REF(M100,1),1,0);
M103:=IF(REF(M102,1)=0 AND M102=1,1.2,0);
M200:=FORCAST(CLOSE,3);
M201:=EMA(EMA(M200,19),8);
M202:=EMA(EMA(M200,78),21);
M203:=EMA(EMA(M200,256),55);
M301:=IF(CLOSE>M203 AND CLOSE>M202 AND CLOSE< M201 AND M103>1,1,0);
STICKLINE(M301=1,CLOSE*0.94,CLOSE*0.93,50,0)COLORYELLOW;
DRAWTEXT(M301=1,CLOSE*0.91,'止损价')COLORBLUE;