一、原理
對我上篇博文改良后的指標ZLOBV的兩條OBV線(xiàn)的分散和收斂進(jìn)行圖形顯示,讓投資者直觀(guā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)場(chǎng)');
DRAWTEXT(CROSS(OBV2,OBV1),C,'主力退場(chǎng)');(南方財富網(wǎng)SOUTHMONEY.COM)
(責任編輯:張曉軒)