dkx:(20*mid+19*ref(mid,1)+18*ref(mid,2)+17*ref(mid,3)+16*ref(mid,4)+15*ref(mid,5)
+14*ref(mid,6)+13*ref(mid,7)+12*ref(mid,8)+11*ref(mid,9)+10*ref(mid,10)+9*ref(mid,11)
+8*ref(mid,12)+7*ref(mid,13)+6*ref(mid,14)+5*ref(mid,15)+4*ref(mid,16)+3*ref(mid,17)
+2*ref(mid,18)+ref(mid,20))/210,linethick1;
madkx:ma(dkx,10),linethick1;
x1a:=30;
压力:hhv(c,x1a),colorff5500;
x1c:=if(islastbar,barslast(c=const(压力))+1,1/0);
x1d:=if(x1c=1,' 1',if(x1c=2,' 2',if(x1c=3,' 3',if(x1c=4,' 4',if(x1c=5,' 5',
if(x1c=6,' 6',if(x1c=7,' 7',if(x1c=8,' 8',if(x1c=9,' 9',if(x1c=10,' 10',
if(x1c=11,' 11',if(x1c=12,' 12',if(x1c=13,' 13',if(x1c=14,' 14',if(x1c=15,' 15',
if(x1c=16,' 16',if(x1c=17,' 17',if(x1c=18,' 18',if(x1c=19,' 19',if(x1c=20,' 20',
if(x1c=21,' 21',if(x1c=22,' 22',if(x1c=23,' 23',if(x1c=24,' 24',if(x1c=25,' 25',
if(x1c=26,' 26',if(x1c=27,' 27',if(x1c=28,' 28',if(x1c=29,' 29',if(x1c=30,' 30',' 0'))))))))))))))))))))))))))))));
x1e:drawtext(islastbar,压力,x1d),colorff5500;
x2a:=30;
支撑:llv(c,x2a),colorff00ff;
x2c:=if(islastbar,barslast(c=const(支撑))+1,1/0);
x2d:=if(x2c=1,' 1',if(x2c=2,' 2',if(x2c=3,' 3',if(x2c=4,' 4',if(x2c=5,' 5',
if(x2c=6,' 6',if(x2c=7,' 7',if(x2c=8,' 8',if(x2c=9,' 9',if(x2c=10,' 10',
if(x2c=11,' 11',if(x2c=12,' 12',if(x2c=13,' 13',if(x2c=14,' 14',if(x2c=15,' 15',
if(x2c=16,' 16',if(x2c=17,' 17',if(x2c=18,' 18',if(x2c=19,' 19',if(x2c=20,' 20',
if(x2c=21,' 21',if(x2c=22,' 22',if(x2c=23,' 23',if(x2c=24,' 24',if(x2c=25,' 25',
if(x2c=26,' 26',if(x2c=27,' 27',if(x2c=28,' 28',if(x2c=29,' 29',if(x2c=30,' 30',' 0'))))))))))))))))))))))))))))));
x2e:drawtext(islastbar,支撑,x2d),colorff00ff;
zdt:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdt>9.8,o,c,2,0),coloryellow;
stickline(zdt<-9.8,o,c,2,0),color00ff00;
涨停:=zdt>9.8;
不破价:=ref(l,barslast(涨停));
ls0:=barslast(涨停);
ls11:=if(1,ls0=1,涨停);
ls21:=if(1,llv(l,1)>ref(l,1),1);
涨停不破:=ls11 and ls21;
stickline(涨停不破,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破,不破价-不破价*0.02,'1'),colorgreen;
ls12:=if(2,ls0=2,涨停);
ls22:=if(2,llv(l,2)>ref(l,2),1);
涨停不破2:=ls12 and ls22;
stickline(涨停不破2,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破2,不破价-不破价*0.02,'2'),colorgreen;
ls13:=if(3,ls0=3,涨停);
ls23:=if(3,llv(l,3)>ref(l,3),1);
涨停不破3:=ls13 and ls23;
stickline(涨停不破3,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破3,不破价-不破价*0.02,'3'),colorgreen;
ls14:=if(4,ls0=4,涨停);
ls24:=if(4,llv(l,4)>ref(l,4),1);
涨停不破4:=ls14 and ls24;
stickline(涨停不破4,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破4,不破价-不破价*0.02,'4'),colorgreen;
ls15:=if(5,ls0=5,涨停);
ls25:=if(5,llv(l,5)>ref(l,5),1);
涨停不破5:=ls15 and ls25;
stickline(涨停不破5,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破5,不破价-不破价*0.02,'5'),colorgreen;
ls16:=if(6,ls0=6,涨停);
ls26:=if(6,llv(l,6)>ref(l,6),1);
涨停不破6:=ls16 and ls26;
stickline(涨停不破6,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破6,不破价-不破价*0.02,'6'),colorgreen;
ls17:=if(7,ls0=7,涨停);
ls27:=if(7,llv(l,7)>ref(l,7),1);
涨停不破7:=ls17 and ls27;
stickline(涨停不破7,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破7,不破价-不破价*0.02,'7'),colorgreen;
ls18:=if(8,ls0=8,涨停);
ls28:=if(8,llv(l,8)>ref(l,8),1);
涨停不破8:=ls18 and ls28;
stickline(涨停不破8,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破8,不破价-不破价*0.02,'8'),colorgreen;
ls19:=if(9,ls0=9,涨停);
ls29:=if(9,llv(l,9)>ref(l,9),1);
涨停不破9:=ls19 and ls29;
stickline(涨停不破9,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破9,不破价-不破价*0.02,'9'),colorgreen;
ls110:=if(10,ls0=10,涨停);
ls210:=if(10,llv(l,10)>ref(l,10),1);
涨停不破10:=ls110 and ls210;
stickline(涨停不破10,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破10,不破价-不破价*0.02,'0'),colorgreen;
ls111:=if(11,ls0=11,涨停);
ls211:=if(11,llv(l,11)>ref(l,11),1);
涨停不破11:=ls111 and ls211;
stickline(涨停不破11,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破11,不破价-不破价*0.02,'1'),colorgreen;
ls112:=if(12,ls0=12,涨停);
ls212:=if(12,llv(l,12)>ref(l,12),1);
涨停不破12:=ls112 and ls212;
stickline(涨停不破12,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破12,不破价-不破价*0.02,'2'),colorgreen;
ls113:=if(13,ls0=13,涨停);
ls213:=if(13,llv(l,13)>ref(l,13),1);
涨停不破13:=ls113 and ls213;
stickline(涨停不破13,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破13,不破价-不破价*0.02,'3'),colorgreen;
ls114:=if(14,ls0=14,涨停);
ls214:=if(14,llv(l,14)>ref(l,14),1);
涨停不破14:=ls114 and ls214;
stickline(涨停不破14,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破14,不破价-不破价*0.02,'4'),colorgreen;
ls115:=if(15,ls0=15,涨停);
ls215:=if(15,llv(l,15)>ref(l,15),1);
涨停不破15:=ls115 and ls215;
stickline(涨停不破15,不破价-不破价*0.002,不破价,4,0),colorred;
drawtext(涨停不破15,不破价-不破价*0.02,'5'),colorgreen;
上一指标公式:绝对底无未来指标下载 通达信未来
下一指标公式:做波段很好用的主图指标下载 通达信很好用源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文关注涨停主图指标下载 通达信源码指标仅供学习研究。