3日首板:
VA:=IF((FINANCE(3)=3 OR FINANCE(3)=4),0.2,0.1);{创业板和科创板涨幅20%}
FXG:=(BARSCOUNT(CLOSE) > 5 AND VA=0.2) OR (NOT(EVERY(C=O,BARSCOUNT(C))) AND VA=0.1);
A1:=CLOSE>=ZTPRICE(REF(CLOSE,1),VA);{涨停}
A2:=COUNT(A1,3)=1{3天内只有一次涨停};
A3:=DYNAINFO(17)>0;
XG:A1 AND A2 AND A3 AND FXG;