您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信时间周期 源码 说明

通达信时间周期 源码 说明


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-10-20 17:49:00
公式简介:

研究时间与价格和波段的高低点的关系已有多年,如今已经成为一套分析和实战体系。
今天分享一下时间与k线波段方面的规律:
从k线历史上波段低点或高点开始往右数k线数目,如果距今日的k线数目落于以下的数字之中,那么今日的k线就将是波段的低点或高点的可能大增。适用于月,周,日,小时等等所有k线周期级别。记住, 史上的k线波段,在经历了这些循环周期数字之后,必定再现这些波段。
熟悉这些会说话的循环周期,他们将为您开启时间之门。。。

对您有帮助的话, 就多加理想币和共享币吧。。。

TDX源码如下:
代码初看很简单, 但慢慢体会的话,威力惊人。
源码的行数过长,可以分开放入2个公式之中。
每天的数k线的工作量, 顿时缩减到1分钟之内;
更多的时间将被用来分析波段高低的时间点。
你也可以把自己的循环周期照着格式放入其中,并设置不同的颜色和位置。

{时间循环周期}

{菲波纳契螺旋周期;易学难精;关注成黄金分割比率的波段位置}
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(CURRBARSCOUNT=11,LOW*0.998,'11'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=13,LOW*0.998,'13'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=23,LOW*0.998,'23'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=28,LOW*0.998,'28'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=31,LOW*0.998,'31'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=34,LOW*0.998,'34'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=37,LOW*0.998,'37'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=40,LOW*0.998,'40'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=43,LOW*0.998,'43'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=46,LOW*0.998,'46'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=49,LOW*0.998,'49'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=53,LOW*0.998,'53'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=57,LOW*0.998,'57'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=61,LOW*0.998,'61'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=65,LOW*0.998,'65'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=69,LOW*0.998,'69'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=73,LOW*0.998,'73'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=77,LOW*0.998,'77'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=81,LOW*0.998,'81'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=86,LOW*0.998,'86'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=91,LOW*0.998,'91'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=96,LOW*0.998,'96'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=101,LOW*0.998,'101'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=106,LOW*0.998,'106'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=111,LOW*0.998,'111'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=116,LOW*0.998,'116'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=121,LOW*0.998,'121'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=127,LOW*0.998,'127'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=133,LOW*0.998,'133'), COLORRED;
DRAWTEXT(CURRBARSCOUNT=145,LOW*0.998,'145'), COLORRED;

{友情提示:源码的行数过长,可以分开放入2个公式之中。如果用于个股,则需要调整数字显示的位置,而这很容易做到。}

贴图如下:
 


 



 


[url=http://www.goodgupiao.com/gupiaogongshi/23221.html][B]通达信时间周期 源码 说明[/B][/url]