{首板盘中预警买入:选定流通市值小,超大单排前,形态优,板块热优选}
LTSZ:=CLOSE*FInaNCE(46)/100000000;{流通市值}
CB:=IF((CODELIKE('300') AND DATE>1200823) OR CODELIKE('688'),1,0);
ZT:=CLOSE>=ZTPRICE(REF(CLOSE,1),IF(CB>0,0.2,0.1)) AND NOT(H=L);{涨停}
A1:=ma(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,20);
A4:=(CLOSE>A1 AND A1>A2 AND A2>A3) AND (A1>REF(A1,1) AND A2>REF(A2,1) AND A3>REF(A3,1));
A5:=PEAK(1,10,1);
首板预警:NOT(REF(ZT,1)) AND A4 AND crOSS(CLOSE,A5);