这个指标用了蛮久 黄金分割 通达信主图指标 源码 贴图
2018-05-17 09:29:00来源:本站整理浏览:648
这个指标用了蛮久 黄金分割 通达信主图指标 源码 贴图
高:=REFDATE(HHV(H,N),DATE);
低:=REFDATE(LLV(L,N),DATE);
H1:=高-(高-低)*0.809;
H2:=高-(高-低)*0.618;
H3:=高-(高-低)*0.5;
H4:=高-(高-低)*0.382;
H5:=高-(高-低)*0.191;
DRAWTEXT(CURRBARSCOUNT=1,高,'高'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H1,'【809】'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H2,'【618】'),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=1,H3,' 【50】'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H4,'【382】'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H5,'【191】'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,低,'低'),COLORRED;
STICKLINE(CURRBARSCOUNT=13,高,高,100,-1);
STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORGRAY;
STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;
STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;