通达信乖离系统指标公式,通达信布林系统主图指标公式
admin888
|通达信乖离系统指标公式,通达信布林系统主图指标公式
通达信乖离系统指标公式
长期乖离率:(CLOSE-ma(CLOSE,55))/MA(CLOSE,55)*100,COLORYELLOW,stICK,LINETHICK3;
IF(长期乖离率<=0,长期乖离率,0),COLORWHITE,STICK,LINETHICK3;
中期乖离率:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,COLORFF00FF,STICK,LINETHICK3;
IF(中期乖离率<=0,中期乖离率,0),COLORFFFF33,STICK,LINETHICK3;
短期乖离率:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,OLORRED,STICK,LINETHICK3;
IF(短期乖离率<=0,短期乖离率,0),COLORBLUE,STICK,LINETHICK3;
VAR2:=REF(HIGH,1)*1.1;{{昨日最高价*系数}VAR3:=HIGH*1.1;{当日最高价*系数}
VAR4:=(VAR3*vol+VAR2*(CAPITAL-VOL))/CAPITAL;
VAR5:=REF(LOW,1)*0.9; {昨日最低价*系数}
VAR6:=LOW*0.9;{当日最低价*系数}
VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
VAR8:=ema(VAR7,30);{求
30日VAR7的移动平均}
VAR9:=EMA(VAR4,30);{求30日VAR4的移动平均}
VAR10:=VAR9-2;
VAR11:=IF(CLOSE<=VAR8,VAR10,VAR9);
VAR12:=VAR11*2.5;
VAR13:=VAR10*2.5;
STICKLINE(VAR12=VAR13,中期乖离率,0,4,1),COLOR66FF99;
上通道:MA(短期乖离率,20)+1.618*STD(长期乖离率,20),COLOR0099FF,LINETHICK2;
下通道:MA(短期乖离率,20)-1.618*STD(长期乖离率,20),COLOR0099FF,LINETHICK2;
生命轨迹:短期乖离率,COLOR00FF00;
通达信布林系统主图指标公式
X:=C;
X1:=(ma(X,3)+MA(X,5)+MA(X,8)+MA(X,13))/4;
X3:=X1+5*SLOPE( X1, 3);
X4:=ema(X3,2);
X5:=EMA(X4,2);
X6:=(X3+X4+X5)/3;
X0:=(MA(X6,3)+MA(X6,5)+MA(X6,8)+MA(X6,13))/4;
J1:=X0+3*stD(X0,10);
J2:=X0-3*STD(X0,10);
UO:=MA(X,20);
UO1:=UO + 2*STD(X,20);
UO2:=UO - 2*STD(X,20);
PO1:=(MA(X,3)+MA(X,5)+MA(X,8)+MA(X,13))/4;
PO2:=PO1+3*STD(PO1,10);
PO3:=PO1-3*STD(PO1,10);
C1:=REF(C,1);
C2:=HHV(C1,2);
C3:=LLV(C1,2);
ET:=HHV(C1,2);
ET1:=REF(ET,1);
XB:=LLV(C1,2);
XB1:=REF(XB,1);
M:=BArslAST(C
M1:=REF(M,1);
NN:=BARSLAST(C>ET AND C1<=ET1);
N1:=REF(NN,1);
M2:=BARSLAST(M-NN>0 AND M1<=N1)+1;
N2:=BARSLAST(NN-M>0 AND N1<=M1)+1;
ET2:=HHV(ET,M2);
XB2:=LLV(XB,N2);
A:=IF(M-NN>0 AND M1<=N1,1,IF(NN-M>0 AND N1<=M1,0,2));
STICKLINE(M-NN>0,C,ET2,6,1),COLOR0099FF;
STICKLINE(M-NN<0,C,XB2,6,0),COLORCYAN;
STICKLINE(A=1,C,C2,6,1),COLOR0099FF;
STICKLINE(A=1,C2,XB2,6,0),COLORCYAN;
STICKLINE(A=0,C3,C,6,0),COLOR0099FF;
STICKLINE(A=0,C3,ET2,6,1),COLOR0099FF;
OPP1: (J1+UO1)/2,COLORFF9966;
OPP2: (J2+UO2)/2,COLORRED;
OPP3: (OPP1+OPP2)/2,COLOR500500;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。