VAR1:=DATE<61901232;
VAR2:=MA(CLOSE,5);
VAR3:=MA(CLOSE,10);
VAR4:=MA(CLOSE,20);
VAR5:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
VAR6:=IF(CLOSE-REF(CLOSE,1)*0.9<0.01,1,0);
VAR7:=IF(VAR1,EMA(REF(COST(95),0),2),DRAWNULL);
VAR8:=IF(VAR1,EMA(REF(COST(5),0),2),DRAWNULL);
VAR9:=REF(VAR7,1)/REF(VAR8,1)<1.13;
VAR10:=VAR9 OR (CLOSE>=0.985*VAR7 AND CLOSE/REF(CLOSE,1)>1.08);
VAR11:=100*WINNER(CLOSE)>=90 AND DYNAINFO(4)>0 AND BARSCOUNT(CLOSE)>200;
VAR12:=MA(CLOSE,30);
VAR13:=FILTER(VAR11,21) AND CLOSE>VAR12 AND CLOSE/REF(CLOSE,1)>=1.09;
VAR14:=VAR10 AND (VAR13 OR REF(VAR13,1)) AND CLOSE/VAR12<1.23;
VAR15:=REF(CLOSE,1)/REF(CLOSE,3)<1.15 AND REF(CLOSE,1)/REF(CLOSE,2)<1.08 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09;
VAR16:=FILTER(VAR11,21) AND CLOSE>VAR12 AND CLOSE/REF(CLOSE,1)>=1.09 AND VAR15 AND CLOSE/VAR12<1.23;
VAR17:=REF(CLOSE,2)/REF(CLOSE,3)>1.09 AND CLOSE>VAR7 AND REF(CLOSE,2)>VAR7 AND CLOSE/REF(CLOSE,2)<1.02 AND CLOSE/REF(CLOSE,1)>=1.09;
VAR18:=CLOSE
VAR19:=(VAR17 OR VAR16)*0.56;
VAR20:=FILTER(VAR14,9) AND VAR15;
天天涨停:VAR19 OR VAR20 AND BARSCOUNT(C)>30;