VAR2:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100;
VAR3:=(CLOSE-REF(CLOSE,7))/REF(CLOSE,7)*100;
VAR4:=(CLOSE-REF(CLOSE,13))/REF(CLOSE,13)*100;
VAR5:=(CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100;
VAR6:=(CLOSE-REF(CLOSE,43))/REF(CLOSE,43)*100;
VAR7:=(CLOSE-REF(CLOSE,72))/REF(CLOSE,72)*100;
VAR8:=CLOSE*VOL;
VAR9:=EMA((EXPMA(VAR8,23)/EXPMA(VOL,23)+EXPMA(VAR8,54)/EXPMA(VOL,54)+EXPMA(VAR8,108)/EXPMA(VOL,108)+EXPMA(VAR8,316)/EXPMA(VOL,316))/4,34);
VAR10:=1.0668*VAR9;{九毛八公式指标www.9m8.cn 整理}
VAR11:=CROSS(CLOSE,VAR10) AND REF(CLOSE,1)*1.05-CLOSE<0.008 AND CLOSE>OPEN*0.5;
VAR12:=MA(CLOSE,5);
VAR13:=MA(CLOSE,30);
VAR14:=MA(CLOSE,5);
VAR15:=MA(CLOSE,13);
VAR16:=MA(CLOSE,34);
VAR17:=SMA(EMA((VAR14-REF(VAR14,1))/REF(VAR14,1),3)*100,3,1);
VAR18:=EMA(VAR17-REF(VAR17,1),3);
VAR19:=(CLOSE-VAR12)/VAR12*100;
VAR20:=(CLOSE-VAR16)/VAR16*100;
VAR21:=COUNT(CROSS(VAR19,0),3)>=1 AND VAR20>REF(VAR20,1) AND VAR12>REF(VAR12,1) AND (CLOSE/REF(CLOSE,1)-1)*100>5 AND REF(CLOSE,1)
VAR23:=VAR11 AND VAR22;
VAR24:=CROSS(VAR2,8) AND CROSS(VAR3,8) AND CROSS(VAR4,8) AND CROSS(VAR5,8) AND CROSS(VAR6,8) OR VAR23;
DRAWTEXT_FIX(CLOSE>OPEN,0.01,0.01,0,2),COLORYELLOW;
STICKLINE(VAR24,2,0,8,0),COLOR005500;
STICKLINE(VAR24,2.2,0,6,0),COLOR007700;
STICKLINE(VAR24,2.4,0,4,0),COLOR008800;
STICKLINE(VAR24,2.6,0,3,0),COLOR009900;
DRAWICON(VAR24,2.7,38);
DRAWICON(VAR24,1.8,34);
DRAWICON(VAR24,1.3,34);
DRAWICON(VAR24,0.8,34);
DRAWTEXT(VAR24,1,3),COLORRED;