TM:=1200823;
涨停:=IF(DATE<TM,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),COLORRED;
ZT:=C>=涨停 AND PERIOD=5 AND H=C;
HH:=COUNT(ZT,13)>=1;
BA:=BArslAST(HH);
A:=L<=REF(H,BA)*0.9;
选股:A AND crOSS(C,MA(C,3)) AND BA<13;