【源码分享】顾比波动通道副图指标公式(通达信电脑+手机版)
2019-08-22原创 编 辑:掌上指标
电脑版效果展示:
手机版效果展示:
公式源码:
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);
更多资讯请关注下方掌上指标公众号:
我们的服务:
1、指标转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用。
2、指标编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标。
3、指标修改 --- 按照客户“提供的修改要求”,修改技术指标。