通达信布林系统主图指标公式
2020/2/3 18:29:10
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);
{看股吧-股票公式网站 www.kanguba.com}
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<XB AND C1>=XB1);
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;
看股吧公 式 ww w.kanguba.com
其它股票公式列表