kg:=if(datatype<=1,1,if(datatype<=3,5,if(datatype<=5,10,kg1))); f:=if(datatype<=3,1,if(datatype=4,3,if(datatype=5,5,f1))); zx:=zig(4,kg); cch:=peak(4,kg,1); ccy:=trough(4,kg,1); cchh:=peak(4,kg,2); ccyy:=trough(4,kg,2); cc:=if(zx<ref(zx,1),cch,ccy),linethick0; dd:=if(zx<ref(zx,1),ccy,cch),linethick0; ccc:=if(zx<ref(zx,1),cchh,ccyy),linethick0; ddd:=if(zx<ref(zx,1),ccyy,cchh),linethick0; w1:=cross(cch-0.02,zx); w2:=cross(zx,ccy+0.02); fd:=f/100; ys:=if(zx<ref(zx,1),fd,-fd); w:=if(zx<ref(zx,1),w1,w2); h1:if(zx<ref(zx,1),ref(cc-(ccc-dd)*0.5,barslast(w)),0),linethick0; h2:if(zx<ref(zx,1),ref(cc-(ccc-dd)*0.618,barslast(w)),0),linethick0; h3:if(zx<ref(zx,1),ref(cc-(ccc-dd)*1.618,barslast(w)),0),linethick0; h4:if(zx<ref(zx,1),ref(cc-(ccc-dd)*1.272,barslast(w)),0),linethick0; h5:if(zx<ref(zx,1),ref(cc-(ccc-dd)*1.5,barslast(w)),0),linethick0; h6:if(zx<ref(zx,1),ref(cc-(ccc-dd)*1.382,barslast(w)),0),linethick0; h7:if(zx<ref(zx,1),ref(cc-(ccc-dd)*2,barslast(w)),0),linethick0; h8:if(zx<ref(zx,1),ref(cc-(ccc-dd)*2.5,barslast(w)),0),linethick0; h9:if(zx<ref(zx,1),ref(cc-(ccc-dd)*2.618,barslast(w)),0),linethick0; h10:if(zx<ref(zx,1),ref(cc-(ccc-dd)*4.236,barslast(w)),0),linethick0; h11:if(zx<ref(zx,1),ref(cc-(ccc-dd)*0.382,barslast(w)),0),linethick0; h12:if(zx<ref(zx,1),ref(cc-(ccc-dd)*0.764,barslast(w)),0),linethick0; h13:if(zx<ref(zx,1),ref(cc-(ccc-dd)*0.809,barslast(w)),0),linethick0; h14:if(zx<ref(zx,1),ref(cc-(ccc-dd)*3.236,barslast(w)),0),linethick0; h15:if(zx<ref(zx,1),ref(cc-(ccc-dd)*3.618,barslast(w)),0),linethick0; h16:if(zx<ref(zx,1),ref(cc-(ccc-dd)*3,barslast(w)),0),linethick0; h17:if(zx<ref(zx,1),ref(cc-(ccc-dd)*1,barslast(w)),0),linethick0; h18:if(zx<ref(zx,1),ref(cc-(ccc-dd)*4,barslast(w)),0),linethick0; h19:if(zx<ref(zx,1),ref(cc-(ccc-dd)*0.191,barslast(w)),0),linethick0; h20:if(zx<ref(zx,1),ref(cc-(ccc-dd)*cc/ccc,barslast(w)),0),linethick0; h1h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*0.5,barslast(w)),0),linethick0; h2h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*0.618,barslast(w)),0),linethick0; h3h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*1.618,barslast(w)),0),linethick0; h4h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*1.272,barslast(w)),0),linethick0; h5h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*1.5,barslast(w)),0),linethick0; h6h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*1.382,barslast(w)),0),linethick0; h7h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*2,barslast(w)),0),linethick0; h8h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*2.5,barslast(w)),0),linethick0; h9h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*2.618,barslast(w)),0),linethick0; h10h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*4.236,barslast(w)),0),linethick0; h11h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*0.382,barslast(w)),0),linethick0; h12h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*0.764,barslast(w)),0),linethick0; h13h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*0.809,barslast(w)),0),linethick0; h14h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*3.236,barslast(w)),0),linethick0; h15h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*3.618,barslast(w)),0),linethick0; h16h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*3,barslast(w)),0),linethick0; h17h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*1,barslast(w)),0),linethick0; h18h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*4,barslast(w)),0),linethick0; h19h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*0.191,barslast(w)),0),linethick0; h20h:if(zx>ref(zx,1),ref(cc+(dd-ccc)*cc/ccc,barslast(w)),0),linethick0; hhd:=sysparam(4); lld:=sysparam(5); 系数:=if(datatype=2,1.00005,if(datatype<6,1.0005,1.002)); stickline(cc>=lld and cc<=hhd,cc,cc*系数,20,0),colorff; stickline(cc>=lld and cc<=hhd,h1,h1,5,0),colora0a0a0; stickline(h1>lld and h1<hhd,h2,h2,5,0),colora0a0a0; stickline(h2>lld and h2<hhd,h3,h3,5,0),colora0a0a0; stickline(h3>lld and h3<hhd,h4,h4,5,0),colora0a0a0; stickline(h4>lld and h4<hhd,h5,h5,5,0),colora0a0a0; stickline(h5>lld and h5<hhd,h6,h6,5,0),colora0a0a0; stickline(h6>lld and h6<hhd,h7,h7,5,0),colora0a0a0; stickline(h7>lld and h7<hhd,h8,h8,5,0),colora0a0a0; stickline(h8>lld and h8<hhd,h9,h9,5,0),colora0a0a0; stickline(h9>lld and h9<hhd,h10,h10,5,0),colora0a0a0; stickline(h10>lld and h10<hhd,h11,h11,5,0),colora0a0a0; stickline(h11>lld and h11<hhd,h12,h12,5,0),colora0a0a0; stickline(h12>lld and h12<hhd,h13,h13,5,0),colora0a0a0; stickline(h13>lld and h13<hhd,h14,h14,5,0),colora0a0a0; stickline(h14>lld and h14<hhd,h15,h15,5,0),colora0a0a0; stickline(h15>lld and h15<hhd,h16,h16,5,0),colora0a0a0; stickline(h16>lld and h16<hhd,h17,h17,5,0),colora0a0a0; stickline(h17>lld and h17<hhd,h18,h18,5,0),colora0a0a0; stickline(h18>lld and h18<hhd,h19,h19,5,0),colora0a0a0; stickline(h19>lld and h19<hhd,h20,h20,5,0),colorblue; stickline(cc>=lld and cc<=hhd,h1h,h1h,5,0),colora0a0a0; stickline(h1h>lld and h1h<hhd,h2h,h2h,5,0),colora0a0a0; stickline(h2h>lld and h2h<hhd,h3h,h3h,5,0),colora0a0a0; stickline(h3h>lld and h3h<hhd,h4h,h4h,5,0),colora0a0a0; stickline(h4h>lld and h4h<hhd,h5h,h5h,5,0),colora0a0a0; stickline(h5h>lld and h5h<hhd,h6h,h6h,5,0),colora0a0a0; stickline(h6h>lld and h6h<hhd,h7h,h7h,5,0),colora0a0a0; stickline(h7h>lld and h7h<hhd,h8h,h8h,5,0),colora0a0a0; stickline(h8h>lld and h8h<hhd,h9h,h9h,5,0),colora0a0a0; stickline(h9h>lld and h9h<hhd,h10h,h10h,5,0),colora0a0a0; stickline(h10h>lld and h10h<hhd,h11h,h11h,5,0),colora0a0a0; stickline(h11h>lld and h11h<hhd,h12h,h12h,5,0),colora0a0a0; stickline(h12h>lld and h12h<hhd,h13h,h13h,5,0),colora0a0a0; stickline(h13h>lld and h13h<hhd,h14h,h14h,5,0),colora0a0a0; stickline(h14h>lld and h14h<hhd,h15h,h15h,5,0),colora0a0a0; stickline(h15h>lld and h15h<hhd,h16h,h16h,5,0),colora0a0a0; stickline(h16h>lld and h16h<hhd,h17h,h17h,5,0),colora0a0a0; stickline(h17h>lld and h17h<hhd,h18h,h18h,5,0),colora0a0a0; stickline(h18h>lld and h18h<hhd,h19h,h19h,5,0),colora0a0a0; stickline(h19h>lld and h19h<hhd,h20h,h20h,5,0),colorblue; drawtext(w and cc>=lld and cc<=hhd,h1,''+numtostr(f*0.5/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h1>lld and h1<hhd,h2,''+numtostr(f*0.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h2>lld and h2<hhd,h3,''+numtostr(f*1.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h3>lld and h3<hhd,h4,''+numtostr(f*1.272/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h4>lld and h4<hhd,h5,''+numtostr(f*1.5/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h5>lld and h5<hhd,h6,''+numtostr(f*1.382/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h6>lld and h6<hhd,h7,''+numtostr(f*2/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h7>lld and h7<hhd,h8,''+numtostr(f*2.5/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h8>lld and h8<hhd,h9,''+numtostr(f*2.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h9>lld and h9<hhd,h10,''+numtostr(f*4.236/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h10>lld and h10<hhd,h11,''+numtostr(f*0.382/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h11>lld and h11<hhd,h12,''+numtostr(f*0.764/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h12>lld and h12<hhd,h13,''+numtostr(f*0.809/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h13>lld and h13<hhd,h14,''+numtostr(f*3.236/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h14>lld and h14<hhd,h15,''+numtostr(f*3.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h15>lld and h15<hhd,h16,''+numtostr(f*3/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h16>lld and h16<hhd,h17,''+numtostr(f*1/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h17>lld and h17<hhd,h18,''+numtostr(f*4/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h18>lld and h18<hhd,h19,''+numtostr(f*0.191/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and cc>=lld and cc<=hhd,h1h,''+numtostr(f*0.5/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h1h>lld and h1h<hhd,h2h,''+numtostr(f*0.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h2h>lld and h2h<hhd,h3h,''+numtostr(f*1.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h3h>lld and h3h<hhd,h4h,''+numtostr(f*1.272/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h4h>lld and h4h<hhd,h5h,''+numtostr(f*1.5/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h5h>lld and h5h<hhd,h6h,''+numtostr(f*1.382/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h6h>lld and h6h<hhd,h7h,''+numtostr(f*2/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h7h>lld and h7h<hhd,h8h,''+numtostr(f*2.5/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h8h>lld and h8h<hhd,h9h,''+numtostr(f*2.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h9h>lld and h9h<hhd,h10h,''+numtostr(f*4.236/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h10h>lld and h10h<hhd,h11h,''+numtostr(f*0.382/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h11h>lld and h11h<hhd,h12h,''+numtostr(f*0.764/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h12h>lld and h12h<hhd,h13h,''+numtostr(f*0.809/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h13h>lld and h13h<hhd,h14h,''+numtostr(f*3.236/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h14h>lld and h14h<hhd,h15h,''+numtostr(f*3.618/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h15h>lld and h15h<hhd,h16h,''+numtostr(f*3/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h16h>lld and h16h<hhd,h17h,''+numtostr(f*1/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h17h>lld and h17h<hhd,h18h,''+numtostr(f*4/10,3)+'%'),pxdn5,colora0a0a0; drawtext(w and h18h>lld and h18h<hhd,h19h,''+numtostr(f*0.191/10,3)+'%'),pxdn5,colora0a0a0; ak1:=barslast(w1)+1; bk1:=barslast(w2)+1; 目前:=if(bk1>ak1,ak1,bk1); drawnumber(w1,cc,ref(目前,1)+1,0),align2,pxup30,colorff00ff; drawnumber(w2,cc,ref(目前,1)+1,0),align2,pxdn10,coloryellow; 方向:=if(cc=cch,'下行 ','上升 '); 周期:=if(datatype=6,'天 ',if(datatype=7,'周 ',if(datatype=8,'月 ','单位'))); drawtextex(close>0,0,2,5,'目前波段'+方向+numtostr(目前+1,0)+周期),colorred; drawtext(w1,cc,''+周期),pxup30,colorff00ff; drawtext(w2,cc,''+周期),pxdn10,coloryellow; a:=flatzig(4,kg); z:zig(4,kg),precision2,linedot,colorwhite; aa:=a=0 or a=1 or 是否最后周期; wq:=barslast(aa); f:(z/ref(z,ref(wq,1)+1)-1)*100,linethick; w2:=sumbars(aa,2)-1; fb:=f/ref(f,ref(w2,1)+1); 显示数字(aa,z,fb,2);
上一指标公式:ddx不需收费数据公式下载 飞狐收费数据指标 源码
下一指标公式:逆向波自动测幅主图说明公式下载 飞狐源码贴图指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文同向波自动测幅主图说明公式下载 飞狐源码贴图指标 源码仅供学习研究。