通达信来抖点干货TD序列指标

2015-12-17 21:40:00来源:本站整理浏览:981

 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;

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式