本指標(biāo)是結(jié)合了成交量和MACD編寫而成,結(jié)合了兩者各自的優(yōu)點,加上了一些篩選條件,具有更好的準(zhǔn)確性和靈活性。以下是具體公式(通達(dá)信):
SHORT:12;LONG:=26;MID:=9;
q:=34;
RJJ := (HIGH + LOW + CLOSE)/3;
RS:=SUM(IF(RJJ>REF(RJJ,1),RJJ*VOL,0),q)/SUM(IF(RJJ<=REF(RJJ,1),RJJ*VOL,0),q);
BL:=100-100/(1+RS);
資金流:BL,NODRAW;
A1:=SUM(IF(BL>REF(BL,1),VOL,IF(BL<REF(BL,1),-VOL,0)),0);{OBV}
DIF:EMA(A1,SHORT)-EMA(A1,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;