顾比波动通道-精品通达信指标公式源码分享

通达信免费指标 04-14 阅读:219 评论:0

微信截图_20190822215519.png

A:=(CLOSE+OPEN+LOW+HIGH)/4;

K1:=EMA(A,3),COLORBLUE;

K2:=EMA(A,5),COLORBLUE;

K3:=EMA(A,8),COLORBLUE;

K4:=EMA(A,10),COLORBLUE;

K5:=EMA(A,12),COLORBLUE;

K6:=EMA(A,15),COLORBLUE;

K7:=EMA(A,30),COLORYELLOW;

K8:=EMA(A,35),COLORYELLOW;

K9:=EMA(A,40),COLORYELLOW;

K10:=EMA(A,45),COLORYELLOW;

K11:=EMA(A,50),COLORYELLOW;

K12:=EMA(A,60),COLORYELLOW;

K13:=EMA(A,120),COLORCYAN;

K14:=EMA(A,140),COLORCYAN;

K15:=EMA(A,160),COLORCYAN;

K16:=EMA(A,180),COLORCYAN;

K17:=EMA(A,200),COLORCYAN;

K18:=EMA(A,220),COLORCYAN;

ST:(K1+K2+K3+K4+K5+K6)/6,COLORWHITE,LINETHICK2;

LG:(K7+K8+K9+K10+K11+K12)/6,COLORCYAN,LINETHICK2;

LLG:(K13+K14+K15+K16+K17+K18)/6,COLORRED,LINETHICK2;

CHUP1:HHV(ST,20),COLORWHITE,DOTLINE;

CHDN1:LLV(ST,20),COLORWHITE,DOTLINE;

CHUP2:HHV(LG,20),COLORCYAN,DOTLINE;

CHDN2:LLV(LG,20),COLORCYAN,DOTLINE;

CHUP3:HHV(LLG,20),COLORYELLOW,DOTLINE;

CHDN3:LLV(LLG,20),COLORYELLOW,DOTLINE;

STICKLINE(CHUP1>REF(CHUP1,1) OR (CHUP1=REF(CHUP1,1) AND CHDN1>REF(CHDN1,1)),CHUP1,CHDN1,0.3,1),COLORWHITE;

STICKLINE(CHUP1<REF(CHUP1,1) OR (CHUP1=REF(CHUP1,1) AND CHDN1<REF(CHDN1,1)),CHUP1,CHDN1,0.3,-1),COLORWHITE;

STICKLINE(CHUP2>REF(CHUP2,1) OR (CHUP2=REF(CHUP2,1) AND CHDN2>REF(CHDN2,1)),CHUP2,CHDN2,0.3,1),COLORCYAN;

STICKLINE(CHUP2<REF(CHUP2,1) OR (CHUP2=REF(CHUP2,1) AND CHDN2<REF(CHDN2,1)),CHUP2,CHDN2,0.3,-1),COLORCYAN;

STICKLINE(CHUP3>REF(CHUP3,1) OR (CHUP3=REF(CHUP3,1) AND CHDN3>REF(CHDN3,1)),CHUP3,CHDN3,0.3,1),COLORYELLOW;

STICKLINE(CHUP3<REF(CHUP3,1) OR (CHUP3=REF(CHUP3,1) AND CHDN2<REF(CHDN2,1)),CHUP3,CHDN3,0.3,-1),COLORYELLOW;

DRAWKLINE(H,O,L,C);


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服