通达信公式自动测幅主图源码附主图实测图指标
kg1:=20;
f1:=10;
a1:=10;
a2:=10;
a3:=zig(1,a1);
a4:=peak(1,a1,1);
a5:=trough(1,a1,1);
cc:=if((a3 < (ref(a3,1))),a4,a5),linethick2;
a6:=cross((a4 - 0.02),a3);
a7:=cross(a3,(a5 + 0.02));
a8:=a2 / 100;{好公式网-最好的股票公式网站 www.goodgongshi.com}
a9:=if((a3 < (ref(a3,1))),a8,reverse(a8));
a10:=if((a3 < (ref(a3,1))),a6,a7);
h1:ref((cc * (1 - (a9 * 1))),barslast(a10)),dotline;
h2:ref((cc * (1 - (a9 * 2))),barslast(a10)),dotline,linethick0;
h3:ref((cc * (1 - (a9 * 3))),barslast(a10)),dotline,linethick0;
h4:ref((cc * (1 - (a9 * 4))),barslast(a10)),dotline,linethick0;
h5:ref((cc * (1 - (a9 * 5))),barslast(a10)),dotline,linethick0;
h6:ref((cc * (1 - (a9 * 6))),barslast(a10)),dotline,linethick0;
h7:ref((cc * (1 - (a9 * 7))),barslast(a10)),dotline,linethick0;
h8:ref((cc * (1 - (a9 * 8))),barslast(a10)),dotline,linethick0;
h9:ref((cc * (1 - (a9 * 9))),barslast(a10)),dotline,linethick0;
h10:ref((cc * (1 - (a9 * 10))),barslast(a10)),dotline,linethick0;
h11:ref((cc * (1 - (a9 * 11))),barslast(a10)),dotline,linethick0;
h12:ref((cc * (1 - (a9 * 12))),barslast(a10)),dotline,linethick0;
h13:ref((cc * (1 - (a9 * 13))),barslast(a10)),dotline,linethick0;
h14:ref((cc * (1 - (a9 * 14))),barslast(a10)),dotline,linethick0;
h15:ref((cc * (1 - (a9 * 15))),barslast(a10)),dotline,linethick0;
a11:=barslast((islastbar = 1)) + 1;
a12:=hhv(high,100);
a13:=llv(low,100);
a14:=if((period = 12),1.00005,(if((period < 3),1.0005,1.002)));
stickline(((cc >= a13) and (cc <= a12)),cc,(cc * a14),10,-1000),colorred;
stickline(((cc >= a13) and (cc <= a12)),h1,h1,5,0),colorgray;
stickline(((h1 > a13) and (h1 < a12)),h2,h2,5,0),colorgray;
stickline(((h2 > a13) and (h2 < a12)),h3,h3,5,0),colorgray;
stickline(((h3 > a13) and (h3 < a12)),h4,h4,5,0),colorgray;
stickline(((h4 > a13) and (h4 < a12)),h5,h5,5,0),colorgray;
stickline(((h5 > a13) and (h5 < a12)),h6,h6,5,0),colorgray;
stickline(((h6 > a13) and (h6 < a12)),h7,h7,5,0),colorgray;
stickline(((h7 > a13) and (h7 < a12)),h8,h8,5,0),colorgray;
stickline(((h8 > a13) and (h8 < a12)),h9,h9,5,0),colorgray;
stickline(((h9 > a13) and (h9 < a12)),h10,h10,5,0),colorgray;
stickline(((h10 > a13) and (h10 < a12)),h11,h11,5,0),colorgray;
stickline(((h11 > a13) and (h11 < a12)),h12,h12,5,0),colorgray;
stickline(((h12 > a13) and (h12 < a12)),h13,h13,5,0),colorgray;
stickline(((h13 > a13) and (h13 < a12)),h14,h14,5,0),colorgray;
stickline(((h14 > a13) and (h14 < a12)),h15,h15,5,0),colorgray;
drawtext(barslast(a10) ,h1,'10' ),colorc0c0c0;
drawtext(barslast(a10) ,h2,'20'),colorc0c0c0;
drawtext(barslast(a10) ,h3,'30'),colorc0c0c0;
drawtext(barslast(a10) ,h4,'40'),colorc0c0c0;
drawtext(barslast(a10) ,h5,'50'),colorc0c0c0;
drawtext(barslast(a10) ,h6,'60'),colorc0c0c0;
drawtext(barslast(a10) ,h7,'70'),colorc0c0c0;
drawtext(barslast(a10) ,h8,'80'),colorc0c0c0;
drawtext(barslast(a10) ,h9,'90'),colorc0c0c0;
drawtext(barslast(a10) ,h10,'100'),colorc0c0c0;
上一指标公式:通达信乌云盖顶不补仓主图附效果图指标下载
下一指标公式:通达信专做主升浪行情副图附效果图指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通达信公式自动测幅主图源码附主图实测图指标下载仅供学习研究。