在线检测未来函数

通达信封板能力概率指标公式

来源:Internet,编辑:股旁网,2023-12-06

统计范围:=500;
ZT:=H>=ROUND2(1.1*REF(C,1),2) AND C=H; {涨停版}
涨停板总数:=COUNT(ZT,统计范围); {所有封死涨停数}
炸板:=H>=ROUND2(1.1*REF(C,1),2) AND C!=H;{当天触碰过涨停,但收盘没有封死}
炸板数:=COUNT(炸板,统计范围);
封板能力概率:=涨停板总数/(涨停板总数+炸板数)*100;{纯粹统计该股的封板能力}
{炸板概率:炸板数/(涨停板总数+炸板数)*100;}
上市至今总K数:TOTALBARSCOUNT;
DRAWTEXT_FIX(1,0.38,0.00,0,'封板概率:'),COLORYELLOW;
DRAWNUMBER_FIX(BARSTATUS=2,0.45,0.00,0,封板能力概率),COLORYELLOW;
DRAWTEXT_FIX(1,0.53,0.00,0,'涨停板数:');
DRAWNUMBER_FIX(BARSTATUS=2,0.60,0.00,0,涨停板总数);
DRAWTEXT_FIX(1,0.73,0.00,0,'炸板数:');
DRAWNUMBER_FIX(BARSTATUS=2,0.79,0.00,0,炸板数);

通达信封板能力概率指标公式

相关文章