通达信至简OBV指标公式
-
相关简介:N1:=5;N2:=13;N3:=21; OBV:=SUM(IF(CREF(C,1),VOL,IF(CREF(C,1),-VOL,0)),0); OBV1:EMA(OBV,N1),COLORGREEN; OBV2:EMA(OBV1,N2); OBV3:EMA(OBV2,N3),COLORCYAN; BVC:3*OBV1-2*OBV2,COLORRED; STICKLINE(BVCOBV2,BVC,OBV2,0.00001,1),COLORRED; STICKLINE(BVCOBV2,BVC,OB
-
文章来源:股海网作者:股海网发布时间:2019-01-09浏览次数:
N1:=5;N2:=13;N3:=21;
OBV:=SUM(IF(C>REF(C,1),VOL,IF(C<REF(C,1),-VOL,0)),0);
OBV1:EMA(OBV,N1),COLORGREEN;
OBV2:EMA(OBV1,N2);
OBV3:EMA(OBV2,N3),COLORCYAN;
BVC:3*OBV1-2*OBV2,COLORRED;
STICKLINE(BVC>OBV2,BVC,OBV2,0.00001,1),COLORRED;
STICKLINE(BVC<OBV2,BVC,OBV2,0.00001,1),COLORWHITE;