红:=winner(c)>0.5; 绿:=winner(c)<=0.5; 红1:=winner(c)>0.7; 绿1:=winner(c)<=0.3; stickline(红,low,h,3,0),colorred; stickline(红1,low,h,3,0),colorff00ff; stickline(绿,low,h,3,0),colorgreen; stickline(绿1,low,h,3,0),color808040; hb:=cost(99.3);lb:=cost(0.2);b3:=(hb-lb)/50; b31:=hb-b3;b32:=hb-2*b3;b33:=hb-3*b3;b34:=hb-4*b3;b35:=hb-5*b3;b36:=hb-6*b3;b37:=hb-7*b3;b38:=hb-8*b3;b39:=hb-9*b3; b310:=hb-10*b3;b311:=hb-11*b3;b312:=hb-12*b3;b313:=hb-13*b3;b314:=hb-14*b3;b315:=hb-15*b3;b316:=hb-16*b3;b317:=hb-17*b3;b318:=hb-18*b3;b319:=hb-19*b3; b320:=hb-20*b3;b321:=hb-21*b3;b322:=hb-22*b3;b323:=hb-23*b3;b324:=hb-24*b3;b325:=hb-25*b3;b326:=hb-26*b3;b327:=hb-27*b3;b328:=hb-28*b3;b329:=hb-29*b3; b330:=hb-30*b3;b331:=hb-31*b3;b332:=hb-32*b3;b333:=hb-33*b3;b334:=hb-34*b3;b335:=hb-35*b3;b336:=hb-36*b3;b337:=hb-37*b3;b338:=hb-38*b3;b339:=hb-39*b3; b340:=hb-40*b3;b341:=hb-41*b3;b342:=hb-42*b3;b343:=hb-43*b3;b344:=hb-44*b3;b345:=hb-45*b3;b346:=hb-46*b3;b347:=hb-47*b3;b348:=hb-48*b3;b349:=hb-49*b3; a1:=winner(hb)*100-winner(b31)*100;a2:=winner(b31)*100-winner(b32)*100;a3:=winner(b32)*100-winner(b33)*100;a4:=winner(b33)*100-winner(b34)*100; a5:=winner(b34)*100-winner(b35)*100;a6:=winner(b35)*100-winner(b36)*100;a7:=winner(b36)*100-winner(b37)*100;a8:=winner(b37)*100-winner(b38)*100; a9:=winner(b38)*100-winner(b39)*100;a10:=winner(b39)*100-winner(b310)*100;a11:=winner(b310)*100-winner(b311)*100;a12:=winner(b311)*100-winner(b312)*100; a13:=winner(b312)*100-winner(b313)*100;a14:=winner(b313)*100-winner(b314)*100;a15:=winner(b314)*100-winner(b315)*100;a16:=winner(b315)*100-winner(b316)*100; a17:=winner(b316)*100-winner(b317)*100;a18:=winner(b317)*100-winner(b318)*100;a19:=winner(b318)*100-winner(b319)*100;a20:=winner(b319)*100-winner(b320)*100; a21:=winner(b320)*100-winner(b321)*100;a22:=winner(b321)*100-winner(b322)*100;a23:=winner(b322)*100-winner(b323)*100;a24:=winner(b323)*100-winner(b324)*100; a25:=winner(b324)*100-winner(b325)*100;a26:=winner(b325)*100-winner(b326)*100;a27:=winner(b326)*100-winner(b327)*100;a28:=winner(b327)*100-winner(b328)*100; a29:=winner(b328)*100-winner(b329)*100;a30:=winner(b329)*100-winner(b330)*100;a31:=winner(b330)*100-winner(b331)*100;a32:=winner(b331)*100-winner(b332)*100; a33:=winner(b332)*100-winner(b333)*100;a34:=winner(b333)*100-winner(b334)*100;a35:=winner(b334)*100-winner(b335)*100;a36:=winner(b335)*100-winner(b336)*100; a37:=winner(b336)*100-winner(b337)*100;a38:=winner(b337)*100-winner(b338)*100;a39:=winner(b338)*100-winner(b339)*100;a40:=winner(b339)*100-winner(b340)*100; a41:=winner(b340)*100-winner(b341)*100;a42:=winner(b341)*100-winner(b342)*100;a43:=winner(b342)*100-winner(b343)*100;a44:=winner(b343)*100-winner(b344)*100; a45:=winner(b344)*100-winner(b345)*100;a46:=winner(b345)*100-winner(b346)*100;a47:=winner(b346)*100-winner(b347)*100;a48:=winner(b347)*100-winner(b348)*100; a49:=winner(b348)*100-winner(b349)*100;a50:=winner(b349)*100-winner(lb)*100; mx0:=max(a1, max(a2, max(a3, max(a4, max(a5, max(a6, max(a7, max(a8, max(a9,a10))))))))); mx1:=max(a11, max(a12, max(a13, max(a14, max(a15, max(a16, max(a17, max(a18, max(a19,a20))))))))); mx2:=max(a21, max(a22, max(a23, max(a24, max(a25, max(a26, max(a27, max(a28, max(a29,a30))))))))); mx3:=max(a31, max(a32, max(a33, max(a34, max(a35, max(a36, max(a37, max(a38, max(a39,a40))))))))); mx4:=max(a41, max(a42, max(a43, max(a44, max(a45, max(a46, max(a47, max(a48, max(a49,a50))))))))); 最大值:=max(mx0, max(mx1, max(mx2, max(mx3,mx4)))); 峰值过滤:=if(最大值<8,40,if(最大值<14,25,15)); 线宽调整:=if(c<1.5,0.003,if(c<3,0.01,if(c<10,0.02,if(c<16,0.03,if(c<30,0.05,0.06)))))*(5/10); 线条长度:=3;{好公式网-最好的股票公式网站 www.goodgongshi.com} stickline(islastbar and a1 >最大值/线条长度 and a1 =max(mx0,mx1),hb ,hb+线宽调整 ,a1*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a1 >最大值/线条长度 and a1 =max(mx0,mx1),b31 ,b31+线宽调整 ,a1*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a2 >最大值/线条长度 and a2 =max(mx0,mx1),b32 ,b32+线宽调整 ,a2*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a3 >最大值/线条长度 and a3 =max(mx0,mx1),b33 ,b33+线宽调整 ,a3*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a4 >最大值/线条长度 and a4 =max(mx0,mx1),b34 ,b34+线宽调整 ,a4*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a5 >最大值/线条长度 and a5 =max(mx0,mx1),b35 ,b35+线宽调整 ,a5*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a6 >最大值/线条长度 and a6 =max(mx0,mx1),b36 ,b36+线宽调整 ,a6*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a7 >最大值/线条长度 and a7 =max(mx0,mx1),b37 ,b37+线宽调整 ,a7*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a8 >最大值/线条长度 and a8 =max(mx0,mx1),b38 ,b38+线宽调整 ,a8*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a9 >最大值/线条长度 and a9 =max(mx0,mx1),b39 ,b39+线宽调整 ,a9*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a10 >最大值/线条长度 and a10 =max(mx0,mx1),b310 ,b310+线宽调整 ,a10*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a11 >最大值/线条长度 and a11 =max(mx0,mx1),b311 ,b311+线宽调整 ,a11*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a12 >最大值/线条长度 and a12 =max(mx0,mx1),b312 ,b312+线宽调整 ,a12*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a13 >最大值/线条长度 and a13 =max(mx0,mx1),b313 ,b313+线宽调整 ,a13*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a14 >最大值/线条长度 and a14 =max(mx0,mx1),b314 ,b314+线宽调整 ,a14*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a15 >最大值/线条长度 and a15 =max(mx0,mx1),b315 ,b315+线宽调整 ,a15*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a16 >最大值/线条长度 and a16 =max(mx0,mx1),b316 ,b316+线宽调整 ,a16*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a17 >最大值/线条长度 and a17 =max(mx0,mx1),b317 ,b317+线宽调整 ,a17*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a18 >最大值/线条长度 and a18 =max(mx0,mx1),b318 ,b318+线宽调整 ,a18*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a19 >最大值/线条长度 and a19 =max(mx0,mx1),b319 ,b319+线宽调整 ,a19*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a20 >最大值/线条长度 and a20 =max(mx0,mx1),b320 ,b320+线宽调整 ,a20*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a21 >最大值/线条长度 and a21 =mx2,b321 ,b321+线宽调整 ,a21*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a22 >最大值/线条长度 and a22 =mx2,b322 ,b322+线宽调整 ,a22*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a23 >最大值/线条长度 and a23 =mx2,b323 ,b323+线宽调整 ,a23*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a24 >最大值/线条长度 and a24 =mx2,b324 ,b324+线宽调整 ,a24*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a25 >最大值/线条长度 and a25 =mx2,b325 ,b325+线宽调整 ,a25*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a26 >最大值/线条长度 and a26 =mx2,b326 ,b326+线宽调整 ,a26*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a27 >最大值/线条长度 and a27 =mx2,b327 ,b327+线宽调整 ,a27*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a28 >最大值/线条长度 and a28 =mx2,b328 ,b328+线宽调整 ,a28*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a29 >最大值/线条长度 and a29 =mx2,b329 ,b329+线宽调整 ,a29*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a30 >最大值/线条长度 and a30 =mx2,b330 ,b330+线宽调整 ,a30*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a31 >最大值/线条长度 and a31 =max(mx3,mx4),b331 ,b331+线宽调整 ,a31*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a32 >最大值/线条长度 and a32 =max(mx3,mx4),b332 ,b332+线宽调整 ,a32*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a33 >最大值/线条长度 and a33 =max(mx3,mx4),b333 ,b333+线宽调整 ,a33*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a34 >最大值/线条长度 and a34 =max(mx3,mx4),b334 ,b334+线宽调整 ,a34*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a35 >最大值/线条长度 and a35 =max(mx3,mx4),b335 ,b335+线宽调整 ,a35*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a36 >最大值/线条长度 and a36 =max(mx3,mx4),b336 ,b336+线宽调整 ,a36*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a37 >最大值/线条长度 and a37 =max(mx3,mx4),b337 ,b337+线宽调整 ,a37*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a38 >最大值/线条长度 and a38 =max(mx3,mx4),b338 ,b338+线宽调整 ,a38*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a39 >最大值/线条长度 and a39 =max(mx3,mx4),b339 ,b339+线宽调整 ,a39*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a40 >最大值/线条长度 and a40 =max(mx3,mx4),b340 ,b340+线宽调整 ,a40*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a41 >最大值/线条长度 and a41 =max(mx3,mx4),b341 ,b341+线宽调整 ,a41*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a42 >最大值/线条长度 and a42 =max(mx3,mx4),b342 ,b342+线宽调整 ,a42*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a43 >最大值/线条长度 and a43 =max(mx3,mx4),b343 ,b343+线宽调整 ,a43*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a44 >最大值/线条长度 and a44 =max(mx3,mx4),b344 ,b344+线宽调整 ,a44*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a45 >最大值/线条长度 and a45 =max(mx3,mx4),b345 ,b345+线宽调整 ,a45*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a46 >最大值/线条长度 and a46 =max(mx3,mx4),b346 ,b346+线宽调整 ,a46*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a47 >最大值/线条长度 and a47 =max(mx3,mx4),b347 ,b347+线宽调整 ,a47*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a48 >最大值/线条长度 and a48 =max(mx3,mx4),b348 ,b348+线宽调整 ,a48*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a49 >最大值/线条长度 and a49 =max(mx3,mx4),b349 ,b349+线宽调整 ,a49*峰值过滤 ,0 ),coloryellow; stickline(islastbar and a50 >最大值/线条长度 and a50 =max(mx3,mx4),lb ,lb+线宽调整 ,a50*峰值过滤 ,0 ),coloryellow; {drawkline(high,open,low,close);};
上一指标公式:空方能量短线浮筹指标下载 通达信空方浮筹
下一指标公式:波段高手黄卖指标下载 通达信波段
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文慢牛跳出黄金坑主图副图选股无未来函数指标下载 通达信函数选股仅供学习研究。