通達信布林BOLL系統(tǒng)主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2021-09-06 來源:互聯(lián)網(wǎng)
通達信布林BOLL系統(tǒng)主圖指標公式:
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<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;
通達信布林BOLL系統(tǒng)主圖指標公式實例圖解:
通達信布林BOLL系統(tǒng)主圖指標公式