ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);
B:=CAPITAL>5000000 AND C>2 AND C<100;
去停牌:=DYNAINFO(17)>0;
去创业板:=IF(CODELIKE('300'),0,1);
去创科板:=IF(CODELIKE('688'),0,1);
去亏损:=FINDSTR(FGBLOCK,'连续亏损')<1 AND FINDSTR(FGBLOCK,'亏损股')<1;
除本月解禁:=NOT(INBLOCK('本月解禁'));
上市天数:=FINANCE(42)>120;
去:=ST AND B AND 去创科板 AND 去停牌 AND 去创业板 AND 上市天数 AND 去亏损 AND 除本月解禁;
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
机会:=SMA(QVAR1C,13,8);
尾2:=(FILTERX((COUNT((机会-QVAR1D<(-68)),3)=3),10));
选股:去 AND 尾2;