分析家公式网,提供股票公式,股票软件用户登录  |  用户 注册
狄马克TD序列指数主图指标
  • 软件大小:6.00 KB
  • 推荐星级:
  • 更新时间:2014-08-09 02:36:22
  • 软件类别: 国产软件 / 通达信公式
  • 软件语言:简体中文
  • 授权方式: 共享软件
  • 联系方式:暂无联系方式
  • 官方主页: Home Page
  • 点击大图:  【一键转帖到论坛】
  • 插件情况:
  • 运行环境:Win2000/WinXP/Win2003/WinVista
  • 相关Tags:狄马克TD序列  
  • (0)0%
    (0)0%

软件介绍

我这里是通达信的源码,由于指标有点复杂,俺弄不出来,请熟悉指南针指标评台的高手帮帮忙,感激不尽!

狄马克TD序列

{TD准备=买入结构}
TD准备:=IF(REF(C,1)>REF(C,4),1,0);
TD0:=BARSLAST(TD准备);
A:=IF(BARSSINCEN(LAST(C<REF(C,4),9,0),9),1,DRAWNULL);
F:=IF(BARSLASTCOUNT(C<REF(C,4))>=9,1, A);
G:=A+F;

TD11:=IF(1,TD0=1,0);
{TD21:=IF(1,LLV(C,1)<REF(C,4),0);}
TD21:=IF(1,G,DRAWNULL);
A1:=TD11 AND TD21;

TD12:=IF(2,TD0=2,0);
{TD22:=IF(2,LLV(C,2)<REF(C,4),0);}
TD22:=IF(2,G,DRAWNULL);
A2:=TD12 AND TD22;
TD13:=IF(3,TD0=3,0);
{TD23:=IF(3,LLV(C,3)<REF(C,4),0);}
TD23:=IF(3,G,DRAWNULL);
A3:=TD13 AND TD23;
TD14:=IF(4,TD0=4,0);
{TD24:=IF(4,LLV(C,4)<REF(C,4),0);}
TD24:=IF(4,G,DRAWNULL);
A4:=TD14 AND TD24;
TD15:=IF(5,TD0=5,0);
{TD25:=IF(5,LLV(C,5)<REF(C,4),0);}
TD25:=IF(5,G,DRAWNULL);
A5:=TD15 AND TD25;
TD16:=IF(6,TD0=6,0);
{TD26:=IF(6,LLV(C,6)<REF(C,4),0);}
TD26:=IF(6,G,DRAWNULL);
A6:=TD16 AND TD26;
TD17:=IF(7,TD0=7,0);
{TD27:=IF(7,LLV(C,7)<REF(C,4),0);}
TD27:=IF(7,G,DRAWNULL);
A7:=TD17 AND TD27;
TD18:=IF(8,TD0=8,0);
{TD28:=IF(8,LLV(C,8)<REF(C,4),0);}
TD28:=IF(8,G,DRAWNULL);
A8:=TD18 AND TD28;
TD19:=IF(9,TD0=9,0);
{TD29:=IF(9,LLV(C,9)<REF(C,4),0);}
TD29:=IF(9,G,DRAWNULL);
A9:=TD19 AND TD29;
DRAWTEXT(A1,L-0.3,'1'),COLORYELLOW;
DRAWTEXT(A2,L-0.3,'2'),COLORYELLOW;
DRAWTEXT(A3,L-0.3,'3'),COLORYELLOW;
DRAWTEXT(A4,L-0.3,'4'),COLORYELLOW;
DRAWTEXT(A5,L-0.3,'5'),COLORYELLOW;
DRAWTEXT(A6,L-0.3,'6'),COLORYELLOW;
DRAWTEXT(A7,L-0.3,'7'),COLORYELLOW;
DRAWTEXT(A8,L-0.3,'8'),COLORYELLOW;
DRAWTEXT(A9,L-0.3,'9'),COLORYELLOW;

{TD13次倒数=买入计数}
TDP:=BARSLAST(A9);
B:=IF(LAST(C<REF(C,2),13,0),1,DRAWNULL);
TD11A:=IF(1,TDP=1,TDP);
TD21A:=IF(1,LLV(C,1)<REF(L,2),DRAWNULL);
{TD21A:=IF(1,B,DRAWNULL);}
D1:=TD11A AND TD21A;
TD12A:=IF(2,TDP=2,TDP);
TD22A:=IF(2,LLV(C,2)<REF(L,2),DRAWNULL);
{TD22A:=IF(2,B,DRAWNULL);}
D2:=TD12A AND TD22A;
TD13A:=IF(3,TDP=3,TDP);
TD23A:=IF(3,LLV(C,3)<REF(L,2),DRAWNULL);
{TD23A:=IF(3,B,DRAWNULL);}
D3:=TD13A AND TD23A;
TD14A:=IF(4,TDP=4,TDP);
TD24A:=IF(4,LLV(C,4)<REF(L,2),DRAWNULL);
{TD24A:=IF(4,B,DRAWNULL);}
D4:=TD14A AND TD24A;
TD15A:=IF(5,TDP=5,TDP);
TD25A:=IF(5,LLV(C,5)<REF(L,2),DRAWNULL);
{TD25A:=IF(5,B,DRAWNULL);}
D5:=TD15A AND TD25A;
TD16A:=IF(6,TDP=6,TDP);
TD26A:=IF(6,LLV(C,6)<REF(L,2),DRAWNULL);
{TD26A:=IF(6,B,DRAWNULL);}
D6:=TD16A AND TD26A;
TD17A:=IF(7,TDP=7,TDP);
TD27A:=IF(7,LLV(C,7)<REF(L,2),DRAWNULL);
{TD27A:=IF(7,B,DRAWNULL);}
D7:=TD17A AND TD27A;
TD18A:=IF(8,TDP=8,TDP);
TD28A:=IF(8,LLV(C,8)<REF(L,2),DRAWNULL);
{TD28A:=IF(8,B,DRAWNULL);}
D8:=TD18A AND TD28A;
TD19A:=IF(9,TDP=9,TDP);
TD29A:=IF(9,LLV(C,9)<REF(L,2),DRAWNULL);
{TD29A:=IF(9,B,DRAWNULL);}
D9:=TD19A AND TD29A;
TD10A:=IF(10,TDP=10,TDP);
TD20A:=IF(10,LLV(C,10)<REF(L,2),DRAWNULL);
{TD20A:=IF(10,B,DRAWNULL);}
D10:=TD10A AND TD20A;
TD110A:=IF(11,TDP=11,TDP);
TD210A:=IF(11,LLV(C,11)<REF(L,2),DRAWNULL);
{TD210A:=IF(11,B,DRAWNULL);}
D11:=TD110A AND TD210A;
TD120A:=IF(12,TDP=12,TDP);
TD220A:=IF(12,LLV(C,12)<REF(L,2),DRAWNULL);
{TD220A:=IF(12,B,DRAWNULL);}
D12:=TD120A AND TD220A;
TD130A:=IF(13,TDP=13,TDP);
TD230A:=IF(13,LLV(C,13)<REF(L,2),DRAWNULL);
{TD230A:=IF(13,B,DRAWNULL);}
D13:=TD130A AND TD230A;
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(CURRBARSCOUNT=3,HIGH*1.02,'3'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=5,HIGH*1.02,'5'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=8,HIGH*1.02,'8'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=13,HIGH*1.02,'13'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=21,HIGH*1.02,'21'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=34,HIGH*1.02,'34'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=55,HIGH*1.02,'55'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=89,HIGH*1.02,'89'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=144,HIGH*1.02,'144'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=233,HIGH*1.02,'233'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=377,HIGH*1.02,'377'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=610,HIGH*1.02,'610'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=987,HIGH*1.02,'987'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1597,HIGH*1.02,'1597'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=2584,HIGH*1.02,'2584'), COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=4181,HIGH*1.02,'4181'), COLORGREEN;
{卢咔斯螺旋周期,《超级短线新武器》一书有具体的实站案例}
DRAWTEXT(CURRBARSCOUNT=7,HIGH*1.025,'7'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=11,HIGH*1.025,'11'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=18,HIGH*1.025,'18'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=29,HIGH*1.025,'29'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=47,HIGH*1.025,'47'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=76,HIGH*1.025,'76'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=123,HIGH*1.025,'123'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=199,HIGH*1.025,'199'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=322,HIGH*1.025,'322'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=521,HIGH*1.025,'521'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=843,HIGH*1.025,'843'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1364,HIGH*1.025,'1364'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=2207,HIGH*1.025,'2207'), COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=3571,HIGH*1.025,'3571'), COLORWHITE;

DRAWTEXT_FIX(1,0.01,0.9,0,'数字黄狄马克:买入结构,红:买入计数,白为卢咔斯螺旋周期,绿菲波纳契螺旋周期'),COLORBROWN;

{黄金分割}
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;
一:REFDATE(高,DATE),POINTDOT,COLORWHITE;
二:REFDATE(H19,DATE),POINTDOT,COLORYELLOW;
三:REFDATE(H38,DATE),POINTDOT,COLORMAGENTA;
四:REFDATE(H中,DATE),POINTDOT,COLORRED;
五:REFDATE(H61,DATE),POINTDOT,COLORMAGENTA;
六:REFDATE(H80,DATE),POINTDOT,COLORYELLOW;
七:REFDATE(低,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;
 


 

地址


软件评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论

说明

* 使用方法:点击上面蓝色块,打开新页面按照提示进行

* 本网站提供的各种股票软件,例如大智慧软件,通达信软件,同花顺软件,东方财富通等等,和各种股票公式指标,例如大智慧公式,通达信公式,同花顺公式,文华公式,博易大师公式,股票价格计算公式等等公式指标等,都来源网上公开来源收集

本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!

* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。

* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程

* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2022 fxjgsw.Com. All Rights Reserved .
页面执行时间:17,359.38000 毫秒