以下是通达信3日首板,3天内第一次涨停板选股公式选股(无源码的请下载附件导入)
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;
有话要说...