VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,30);
VAR5:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VAR6:=INTPART(VAR5*100)/100;
VAR7:=EMA(CLOSE,5)-EMA(CLOSE,10);
VAR8:=EMA(VAR7,9);
VAR9:=REF(VAR8,1);
VAR10:=VAR8;
VAR11:=VAR10-VAR9;
VAR12:=REF(VAR7,1);
VAR13:=VAR7;
VAR14:=VAR13-VAR12;
VAR15:=IF(OPEN<=VAR1 AND OPEN<=VAR2 AND OPEN<=VAR3
AND CLOSE>=VAR1 AND CLOSE>=VAR6 AND VAR11>0 AND VAR14>0,0.8,0);
VAR16:=(CLOSE+LOW+HIGH)/3;
VAR17:=EMA(VAR16,6);
VAR18:=EMA(VAR17,5);
VAR19:=CROSS(VAR17,VAR18);
VAR20:=MA(CLOSE,13);
VAR21:=MA(CLOSE,20);
选股:REF(EVERY(CLOSE>VAR1,5),3) AND LOW<VAR21 AND CROSS(CLOSE,VAR20) AND VAR19 AND VAR15;