【通達信】顧比波動通道主圖指標公式
攻城獅 2016.04.02 11:55
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;
{www.guangshenggb.com 概念股網(wǎng)_通達信股票指標公式}
STICKLINE(CHUP1>REF(CHUP1,1) OR (CHUP1=REF(CHUP1,1) AND CHDN1>REF(CHDN1,1)),CHUP1,CHDN1,0.3,1),COLORWHITE;
STICKLINE(CHUP1 STICKLINE(CHUP2>REF(CHUP2,1) OR (CHUP2=REF(CHUP2,1) AND CHDN2>REF(CHDN2,1)),CHUP2,CHDN2,0.3,1),COLORCYAN;
STICKLINE(CHUP2 STICKLINE(CHUP3>REF(CHUP3,1) OR (CHUP3=REF(CHUP3,1) AND CHDN3>REF(CHDN3,1)),CHUP3,CHDN3,0.3,1),COLORYELLOW;
STICKLINE(CHUP3 DRAWKLINE(H,O,L,C);
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.guangshenggb.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責,投資決策請建立在獨立思考之上。