cia股性活跃度最新测试版
p:=5;{副图设置显示小数 设为:固定一位}
drawtext_fix(close>0,0.79,0.00,0,'┏━━┳━━━━┳━━━┳━━━┳━━━┳━━━┓')colorgreen;
drawtext_fix(close>0,0.79,0.05,0,'┃股性┃最高连板┃涨停数┃开板数┃跌停数┃封板率┃')colorgreen;
drawtext_fix(close>0,0.79,0.10,0,'┣━━╋━━━━╋━━━╋━━━╋━━━╋━━━┫')colorgreen;
drawtext_fix(close>0,0.79,0.15,0,'┃ ┃ ┃ ┃ ┃ ┃ ┃')colorgreen;
drawtext_fix(close>0,0.79,0.20,0,'┣━━┻━━━━┻━━━╋━━━┻━━━┻━━━┫')colorgreen;
drawtext_fix(close>0,0.79,0.25,0,'┃ 涨停次日平均 ┃ 开板次日平均 ┃')colorgreen;
drawtext_fix(close>0,0.79,0.30,0,'┣━━┳━━┳━━┳━━╋━━┳━━┳━━┳━━┫')colorgreen;
drawtext_fix(close>0,0.79,0.35,0,'┃ 开 ┃ 低 ┃ 高 ┃ 收 ┃ 开 ┃ 低 ┃ 高 ┃ 收 ┃')colorgreen;
drawtext_fix(close>0,0.79,0.40,0,'┣━━╋━━╋━━╋━━╋━━╋━━╋━━╋━━┫')colorgreen;
drawtext_fix(close>0,0.79,0.45,0,'┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃')colorgreen;
drawtext_fix(close>0,0.79,0.50,0,'┗━━┻━━┻━━┻━━┻━━┻━━┻━━┻━━┛')colorgreen;
drawtext_fix(close>0,0.79,0.58,0,' ①★统计周期★【 交易日】')coloryellow;
drawtext_fix(close>0,0.79,0.68,0,' ②统计数据剔除未开板的一字板')coloryellow;
drawnumber_fix(c>0,0.863,0.58,0,p),colorred;{显示统计周期}
drawtext_fix(c>0,0.986,0.15,0,'%'),colorred;
涨停价:=ztprice(ref(close,1),0.1);
跌停价:=dtprice(ref(close,1),0.1);
开板:=((high>=涨停价) and (close<涨停价));
涨停数:=count((c>=涨停价) and l!=c,p) nodraw;
开板数:=count(开板,p) nodraw;
跌停数:=count(c<=跌停价,p) nodraw;
封板率:=(1-(开板数/(涨停数+开板数)))*100;
drawnumber_fix(currbarscount=1,0.87,0.15,0,涨停数),colorred;
drawnumber_fix(currbarscount=1,0.905,0.15,0,开板数),colorred;
drawnumber_fix(currbarscount=1,0.94,0.15,0,跌停数),colorred;
drawnumber_fix(currbarscount=1,0.97,0.15,0,封板率),colorred;
涨停次日收:=if(ref(c>=涨停价 and l!=c,1), c/ref(c,1)-1,0);
ttj:=if(涨停次日收,1,0);
ttj1:=sum(涨停次日收,p);
ttj2:=sum(ttj,p);
次日平均涨幅收:=ttj1/ttj2*100 nodraw;
drawnumber_fix(次日平均涨幅收>0 and currbarscount=1,0.876,0.45,0,次日平均涨幅收),colorred;
drawnumber_fix(次日平均涨幅收<=0 and currbarscount=1,0.876,0.45,0,次日平均涨幅收),colorgreen;
涨停次日开:=if(ref(c>=涨停价 and l!=c,1), o/ref(c,1)-1,0);
ttj3:=if(涨停次日开,1,0);
ttj4:=sum(涨停次日开,p);
ttj5:=sum(ttj3,p);
次日平均涨幅开:=ttj4/ttj5*100 nodraw;
drawnumber_fix(次日平均涨幅开>0 and currbarscount=1,0.80,0.45,0,次日平均涨幅开),colorred;
drawnumber_fix(次日平均涨幅开<=0 and currbarscount=1,0.80,0.45,0,次日平均涨幅开),colorgreen;
涨停次日低:=if(ref(c>=涨停价 and l!=c,1), l/ref(c,1)-1,0);
ttj6:=if(涨停次日低,1,0);
ttj7:=sum(涨停次日低,p);
ttj8:=sum(ttj6,p);
次日平均涨幅低:=ttj7/ttj8*100 nodraw;
drawnumber_fix(次日平均涨幅低>0 and currbarscount=1,0.828,0.45,0,次日平均涨幅低),colorred;
drawnumber_fix(次日平均涨幅低<=0 and currbarscount=1,0.828,0.45,0,次日平均涨幅低),colorgreen;
涨停次日高:=if(ref(c>=涨停价 and l!=c,1), h/ref(c,1)-1,0);
ttj9:=if(涨停次日高,1,0);
ttj10:=sum(涨停次日高,p);
ttj11:=sum(ttj9,p);
次日平均涨幅高:=ttj10/ttj11*100 nodraw;
drawnumber_fix(次日平均涨幅高>0 and currbarscount=1,0.854,0.45,0,次日平均涨幅高),colorred;
drawnumber_fix(次日平均涨幅高<=0 and currbarscount=1,0.854,0.45,0,次日平均涨幅高),colorgreen;
开板次日开:=if(ref(开板,1) and l!=c, o/ref(c,1)-1,0);
tttj:=if(开板次日开,1,0);
tttj1:=sum(开板次日开,p);
tttj2:=sum(tttj,p);
开板次日平均开:=tttj1/tttj2*100 nodraw;
drawnumber_fix(开板次日平均开>0 and currbarscount=1,0.899,0.45,0,开板次日平均开),colorred;
drawnumber_fix(开板次日平均开<=0 and currbarscount=1,0.899,0.45,0,开板次日平均开),colorgreen;
开板次日低:=if(ref(开板,1) and l!=c, l/ref(c,1)-1,0);
tttj3:=if(开板次日低,1,0);
tttj4:=sum(开板次日低,p);
tttj5:=sum(tttj3,p);
开板次日平均低:=tttj4/tttj5*100 nodraw;
drawnumber_fix(开板次日平均低>0 and currbarscount=1,0.925,0.45,0,开板次日平均低),colorred;
drawnumber_fix(开板次日平均低<=0 and currbarscount=1,0.925,0.45,0,开板次日平均低),colorgreen;
开板次日高:=if(ref(开板,1) and l!=c, h/ref(c,1)-1,0);
tttj6:=if(开板次日高,1,0);
tttj7:=sum(开板次日高,p);
tttj8:=sum(tttj6,p);
开板次日平均高:=tttj7/tttj8*100 nodraw;
drawnumber_fix(开板次日平均高>0 and currbarscount=1,0.955,0.45,0,开板次日平均高),colorred;
drawnumber_fix(开板次日平均高<=0 and currbarscount=1,0.955,0.45,0,开板次日平均高),colorgreen;
开板次日收:=if(ref(开板,1) and l!=c, c/ref(c,1)-1,0);
tttj9:=if(开板次日收,1,0);
tttj10:=sum(开板次日收,p);
tttj11:=sum(tttj9,p);
开板次日平均收:=tttj10/tttj11*100 nodraw;
drawnumber_fix(开板次日平均收>0 and currbarscount=1,0.975,0.45,0,开板次日平均收),colorred;
drawnumber_fix(开板次日平均收<=0 and currbarscount=1,0.975,0.45,0,开板次日平均收),colorgreen;
涨停:=c>=涨停价 and l!=c;
最高连板:=hhv(barslast(not(涨停)),p);
drawnumber_fix(currbarscount=1,0.837,0.15,0,最高连板),colorred;
股性分数:=最高连板*3+涨停数*2+开板数-跌停数+封板率;
drawnumber_fix(currbarscount=1,0.795,0.15,0,股性分数),colorred;
上一指标公式:导航家的股经投机指标副图版下载 通达信导航
下一指标公式:扑捉黑马绝对短平快指标下载 通达信短平快
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文CIA股性活跃度最新测试版指标下载 通达信测试版本仅供学习研究。