同花顺顾比波动通道副图源码
-
相关简介:股价的平衡一经打破将伴随快速的上升或下降。从短、中、长的尺度去发现正确的平衡点,采取适当的策略,获利的比例就会高。波动通道的源码如下: 色带收缩部分就是博弈平衡处,根据突破方向进行操作。 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:=EM
-
文章来源:股海网作者:股海网发布时间:2017-11-20浏览次数:
股价的平衡一经打破将伴随快速的上升或下降。从短、中、长的尺度去发现正确的平衡点,采取适当的策略,获利的比例就会高。波动通道的源码如下:
色带收缩部分就是博弈平衡处,根据突破方向进行操作。
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);