通达信今日连板选股指标公式源码

N:=2;
ZTBL:=IF(FINANCE(3)=2,0.3,IF((FINANCE(3)=4 OR FINANCE(3)=3),0.2,0.1));
ZTP:=ZTPRICE(REF(C,1),ZTBL);
ZT:=C>=ZTP;
涨停板数:BArslASTCOUNT(ZT)= N;