WB1:=(OPEN-REF(C,1))/REF(C,1)*100<3;{高开幅度不超过3%}
WB2:=(C-REF(C,1))/REF(C,1)*100<5;{收盘涨幅不超过5%}
WB3:=(C-REF(C,1))/REF(C,1)*100>2;{收盘涨幅大于2%}
WB4:=(REF(C,1)-REF(C,2))/REF(C,2)*100<5;{昨天涨幅小于5%}
WB5:=(C-REF(C,29))/REF(C,29)*100<55;{近一个半月涨幅小于55%}
WB6:=(H-C)/REF(C,1)*100<4.3;{长影线不长}
volUME:=VOL;
MAVOL1:=MA(VOLUME,120);{120天均量线}
A8:=VOL>MAVOL1*1.2;{成交量>1.2倍120天的均量线}
A65:=FINANCE(40)<50*100000000;{流通盘小于50亿}
A66:=FINANCE(40)>100*100000000;{流通盘大于100亿}
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));{自动去掉ST个股}
A88:=(REF(HHV(C,12),1)-REF(LLV(C,12),1))/REF(LLV(C,12),1)*100<18;{12天区间振幅不超过18%}
主力尾盘选股:WB1 AND WB2 AND WB3 AND WB4 AND WB5 AND WB6 AND A8 AND A88 AND 去ST AND 0.35>DYNAINFO(37) AND DYNAINFO(37)>0.04;