通达信布林重奏指标公式
2020/6/12 18:56:52
P:=3;N:=6;
BC:=(IF(C>(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O*0.382+C*0.618)*0.618);
高:=HHV(BC,P);
低:=LLV(BC,P);
DT:=BC=高;
DL:=BC=低;
高T:=BARSLAST(DT);
低T:=BARSLAST(DL);
H1:=REF(BC,高T);
L1:=REF(BC,低T);
中:=(H1+L1)/2;
A浪:=EMA(中,N),COLORWHITE;
C浪:=(EMA(A浪,N*3)),COLORYELLOW,LINETHICK2;
主浪:(EMA(A浪,N*12)),COLOR6600FF,LINETHICK2;
主上:主浪+2*STD(MA(A浪,1),N*12),COLOR6600FF,DOTLINE;
主下:主浪-2*STD(MA(A浪,1),N*12),COLOR6600FF,DOTLINE;
STICKLINE(C>0,主上,主浪,6,0),COLORBROWN;
STICKLINE(C>0,主下,主浪,6,0),COLORBLUE;
A上:A浪+2*STD(EMA(中,1),N),COLORWHITE,DOTLINE;
A下:A浪-2*STD(EMA(中,1),N),COLORWHITE,DOTLINE;
C上:C浪+2*STD(A浪,N*3),COLORYELLOW;
C下:C浪-2*STD(A浪,N*3),COLORYELLOW;
DRAWKLINE(H,O,L,C);
离合:主上-((C-主上)*C-主上)/主上,COLOR00BB00;
投股 票网 www.tou18. cn
股市公式下载推荐