VAR1:=(OPEN-REF(C,1))/REF(C,1)*100< 3;
VAR2:=(C-REF(C,1))/REF(C,1)*100< 5;
VAR3:=(C-REF(C,1))/REF(C,1)*100>2;
VAR4:=(REF(C,1)-REF(C,2))/REF(C,2)*100< 5;
VAR5:=(C-REF(C,29))/REF(C,29)*100< 60;
VAR6:=(H-C)/REF(C,1)*100< 4.3;
VAR9:=vol/CAPITAL*100>5 AND VOL/CAPITAL*100< 10 AND V/REF(MA(V,5),1)>2;
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,120);
VAR7:=VOL>MAVOL1*1.2;
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
VAR78:=(REF(HHV(C,12),1)-REF(LLV(C,12),1))/REF(LLV(C,12),1)*100< 18;
尾盘抢筹:VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND VAR6 AND VAR7 AND VAR78 AND 去ST AND VAR9;