MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
VAR60:=C>REF(C,1)*1.05;
STICKLINE(VAR60,CLOSE,OPEN,2.3,0),COLORYELLOW;
MAC5:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
M5:=MA(MAC5,5);
MA20:=MA(C,20);
AA9:=PLOYLINE(CROSS(MAC5,M5),M5),COLORRED;
AAB:=PLOYLINE(CROSS(M5,MAC5),MAC5),COLORFF00FF ;
VAR1:=COUNT(CROSS(MAC5,M5),AA9<REF(AAB,5) AND AAB>REF(AAB,5) AND MA20>=REF(MA20,1)),COLORGREEN;
DRAWTEXT(VAR1,LOW-0.1,'買'),;
DIF:=EMA(CLOSE,7)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
VAR5:=COUNT(DIF>0.25,30)>=5;
VAR7:=VAR1 AND VAR5;
DRAWTEXT(VAR7,LOW-0.4,'回頭笑'),;
ZSL:=WINNER(C)*100 ,;
MA33:=MA(ZSL,8)*1.2,;
VAR20:=CROSS(MA33,70);
DRAWTEXT(VAR20,LOW*0.95,'主升浪'),COLORYELLOW;
DRAWICON(VAR20,H*1.02,25);