R1:=IF((DYNAINFO(14)>=M), 1, 0);{涨幅不小于M}
R2:=IF((DYNAINFO(14)<=N), 1, 0);{涨幅不大于N}
R3:=IF((DYNAINFO(37)<=0.05), 1, 0);{换手率不高于}
R4:=IF((DYNAINFO(4)>0),1,0);{剔除停牌股}
R5:=IF(((NAMELIKE('S')) OR (NAMELIKE('*'))),0,1);{剔除ST股}
IF ((R1 AND R2 AND R3 AND R4 AND R5), 1, 0);