改抄菜老师通达信版公式为飞狐版, 版权归老师
{主图分td准备和td13倒数两部分}
{td准备}
a:=ref(c,1)>ref(c,4);
ab:=c<ref(c,4);
aa:=a and ab;
ls0:=barslast(aa);
ls11:=if(1,ls0=1,aa);
ls21:=if(1,llv(c,1)<ref(c,4),1);
a1:=ls11 and ls21;
ls12:=if(2,ls0=2,aa);
ls22:=if(2,llv(c,2)<ref(c,4),1);
a2:=ls12 and ls22;
ls13:=if(3,ls0=3,aa);
ls23:=if(3,llv(c,3)<ref(c,4),1);
a3:=ls13 and ls23;
ls14:=if(4,ls0=4,aa);
ls24:=if(4,llv(c,4)<ref(c,4),1);
a4:=ls14 and ls24;
ls15:=if(5,ls0=5,aa);
ls25:=if(5,llv(c,5)<ref(c,4),1);
a5:=ls15 and ls25;
ls16:=if(6,ls0=6,aa);
ls26:=if(6,llv(c,6)<ref(c,4),1);
a6:=ls16 and ls26;
ls17:=if(7,ls0=7,aa);
ls27:=if(7,llv(c,7)<ref(c,4),1);
a7:=ls17 and ls27;
ls18:=if(8,ls0=8,aa);
ls28:=if(8,llv(c,8)<ref(c,4),1);
a8:=ls18 and ls28;
ls19:=if(9,ls0=9,aa);
ls29:=if(9,llv(c,9)<ref(c,4),1);
a9:=ls19 and ls29;
drawtext(a1,l-0.3,'1'),colorgreen;
drawtext(a2,l-0.3,'2'),colorgreen;
drawtext(a3,l-0.3,'3'),colorgreen;
drawtext(a4,l-0.3,'4'),colorgreen;
drawtext(a5,l-0.3,'5'),colorgreen;
drawtext(a6,l-0.3,'6'),colorgreen;
drawtext(a7,l-0.3,'7'),colorgreen;
drawtext(a8,l-0.3,'8'),colorgreen;
drawtext(a9,l-0.3,'9'),colorgreen;
{td13次倒数}
b:=c<=ref(l,2);
lsp:=barslast(a9);
ls11a:=if(1,lsp=1,b);
ls21a:=if(1,llv(c,1)<ref(l,2),1);
d1:=ls11a and ls21a;
ls12a:=if(2,lsp=2,b);
ls22a:=if(2,llv(c,2)<ref(l,2),1);
d2:=ls12a and ls22a;
ls13a:=if(3,lsp=3,b);
ls23a:=if(3,llv(c,3)<ref(l,2),1);
d3:=ls13a and ls23a;
ls14a:=if(4,lsp=4,b);
ls24a:=if(4,llv(c,4)<ref(l,2),1);
d4:=ls14a and ls24a;
ls15a:=if(5,lsp=5,b);
ls25a:=if(5,llv(c,5)<ref(l,2),1);
d5:=ls15a and ls25a;
ls16a:=if(6,lsp=6,b);
ls26a:=if(6,llv(c,6)<ref(l,2),1);
d6:=ls16a and ls26a;
ls17a:=if(7,lsp=7,b);
ls27a:=if(7,llv(c,7)<ref(l,2),1);
d7:=ls17a and ls27a;
ls18a:=if(8,lsp=8,b);
ls28a:=if(8,llv(c,8)<ref(l,2),1);
d8:=ls18a and ls28a;
ls19a:=if(9,lsp=9,b);
ls29a:=if(9,llv(c,9)<ref(l,2),1);
d9:=ls19a and ls29a;
ls10a:=if(10,lsp=10,b);
ls20a:=if(10,llv(c,10)<ref(l,2),1);
d10:=ls10a and ls20a;
ls110a:=if(11,lsp=11,b);
ls210a:=if(11,llv(c,11)<ref(l,2),1);
d11:=ls110a and ls210a;
ls120a:=if(12,lsp=12,b);
ls220a:=if(12,llv(c,12)<ref(l,2),1);
d12:=ls120a and ls220a;
ls130a:=if(13,lsp=13,b);
ls230a:=if(13,llv(c,13)<ref(l,2),1);
d13:=ls130a and ls230a;
drawtext(d1,l-0.6,'1'),colorred;
drawtext(d2,l-0.6,'2'),colorred;
drawtext(d3,l-0.6,'3'),colorred;
drawtext(d4,l-0.6,'4'),colorred;
drawtext(d5,l-0.6,'5'),colorred;
drawtext(d6,l-0.6,'6'),colorred;
drawtext(d7,l-0.6,'7'),colorred;
drawtext(d8,l-0.6,'8'),colorred;
drawtext(d9,l-0.6,'9'),colorred;
drawtext(d10,l-0.6,'10'),colorred;
drawtext(d11,l-0.6,'11'),colorred;
drawtext(d12,l-0.6,'12'),colorred;
drawtext(d13,l-0.6,'13'),colorred;
{卢卡斯螺旋周期,《超级短线新武器》一书有具体的实战案例}
drawtext(datacount-barpos+1=7,high*1.025,'7'), colorwhite;
drawtext(datacount-barpos+1=11,high*1.025,'11'), colorwhite;
drawtext(datacount-barpos+1=18,high*1.025,'18'), colorwhite;
drawtext(datacount-barpos+1=29,high*1.025,'29'), colorwhite;
drawtext(datacount-barpos+1=47,high*1.025,'47'), colorwhite;
drawtext(datacount-barpos+1=76,high*1.025,'76'), colorwhite;
drawtext(datacount-barpos+1=123,high*1.025,'123'), colorwhite;
drawtext(datacount-barpos+1=199,high*1.025,'199'), colorwhite;
drawtext(datacount-barpos+1=322,high*1.025,'322'), colorwhite;
drawtext(datacount-barpos+1=521,high*1.025,'521'), colorwhite;
drawtext(datacount-barpos+1=843,high*1.025,'843'), colorwhite;
drawtext(datacount-barpos+1=1364,high*1.025,'1364'), colorwhite;
drawtext(datacount-barpos+1=2207,high*1.025,'2207'), colorwhite;
drawtext(datacount-barpos+1=3571,high*1.025,'3571'), colorwhite;
//drawtext_fix(1,0.01,0.9,0,'绿数字为狄马克td准备,红为td13倒数,白为卢卡斯螺旋周期'),colorbrown;
半分位:=(o+c)/2;
昨半分位:=ref(半分位,1);
stickline(islastbar,昨半分位,昨半分位,10,0),colorwhite;
drawnumber(islastbar,昨半分位,昨半分位,2);
drawtext(islastbar,昨半分位,' 昨半分位'),colorgray;
{黄金分割}
nb:=80;
mb:=3;
ma5x:=ma(c,5);
ma13x:=ma(c,13);
高:=ref(hhv(h,nb),mb);
低:=ref(llv(l,nb),mb);
h19:=高-(高-低)*0.191;
h38:=高-(高-低)*0.382;
h中:=高-(高-低)*0.5;
h61:=高-(高-低)*0.618;
h80:=高-(高-低)*0.809;
一:refx(高,date),pointdot,colorwhite;
二:refx(h19,date),pointdot,coloryellow;
三:refx(h38,date),pointdot,colormagenta;
四:refx(h中,date),pointdot,colorred;
五:refx(h61,date),pointdot,colormagenta;
六:refx(h80,date),pointdot,coloryellow;
七:refx(低,date),pointdot,colorwhite;
drawtext(islastbar,一,' 高'),colorwhite;
drawtext(islastbar,二,' 809'),coloryellow;
drawtext(islastbar,三,' 618'),colormagenta;
drawtext(islastbar,四,' 中'),colorred;
drawtext(islastbar,五,' 382'),colormagenta;
drawtext(islastbar,六,' 191'),coloryellow;
drawtext(islastbar,七,' 低'),colorwhite;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文预言帝狄马克的TD序列主图飞狐版(主含9,13数字序列)公式下载 飞狐马克指标 源码仅供学习研究。