一、原理
對我上篇博文改良后的指標(biāo)ZLOBV的兩條OBV線的分散和收斂進(jìn)行圖形顯示,讓投資者直觀的看出主力資金的動(dòng)向。
二、公式
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
OBV1:=EMA(OBV,N);
OBV2:=EMA(OBV,M);
OBVCD:OBV1-OBV2,COLORYELLOW;
OBV1-OBV2,COLORSTICK;
NGOBV:HHV(OBVCD,250),COLORBROWN;
BGOBV:HHV(OBVCD,120),COLORMAGENTA;
NDOBV:LLV(OBVCD,250),COLORGREEN;
BDOBV:LLV(OBVCD,120),COLORBLUE;
VERTLINE(CROSS(OBV1,OBV2),0),COLORGREEN;
VERTLINE(CROSS(OBV2,OBV1),1),COLORYELLOW;
DRAWTEXT(CROSS(OBV1,OBV2),C,'主力進(jìn)場');
DRAWTEXT(CROSS(OBV2,OBV1),C,'主力退場');(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
(責(zé)任編輯:張曉軒)