TJ1:=C>MA(C,30);
TJ2:=C/REF(C,1)>1.05 OR C/REF(C,3)>1.05;
TJ3:=C>REF(HHV(H,19),1);
TJ4:=V>WMA(V,5) AND V>WMA(V,10);
TJ5:=V>REF(V,1);
ST:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);
停牌:=DYNAINFO(4)>0;
一字板:=NOT(O/REF(C,1)>1.095 AND O=C);
前面连板:=NOT(EVERY(REF(C,1)/REF(C,2)>1.095,2));
去除:=ST AND 停牌 AND 一字板 AND 前面连板;
TJXG:=TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND 去除;
ZHSC:TJXG AND NOT(REF(TJXG,1));