通达信顶底操盘副图指标 源码

[复制链接]
查看23 | 回复0 | 2022-7-11 10:37:07 | 显示全部楼层 |阅读模式

201941858173416.png

201941858173416.png


N:=3;M:=5;
MA5:MA(CLOSE,5),COLORFFFFFF;
MA10:MA(CLOSE,10),COLOR00FFFF;
MA60:MA(CLOSE,60),COLOR00FF00,LINETHICK2;
高:=REF(HHV(H,N),M);
低:=REF(LLV(L,N),M);
H19:=高-(高-低)*0.191;
H38:=高-(高-低)*0.382;
H中:=高-(高-低)*0.5;
H61:=高-(高-低)*0.618;
H80:=高-(高-低)*0.809;
顶点:REFDATE(高,DATE),COLORWHITE;
%80.9:REFDATE(H19,DATE),COLORYELLOW;
%61.8:REFDATE(H38,DATE),COLORMAGENTA;
%50:REFDATE(H中,DATE),COLORRED;
%38.2:REFDATE(H61,DATE),COLORMAGENTA;
%19.8:REFDATE(H80,DATE),COLORYELLOW;
低点:REFDATE(低,DATE),COLORWHITE;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%19.8,'%19.8'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%38.2,'%38.2'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%50,'%50'),COLORRED;
DRAWTEXT(ISLASTBAR,%61.8,'%61.8'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%80.9,'%80.9'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;

2019418583556190.rar

2.49 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2019418583556190.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则