网友求助:
请将这个指标加上底背离顶背离等字样
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,M);
解答如下:
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,30);
底背离:=((LLV(LOW,20) = LOW) AND NOT((LLV(OBV,20) = OBV)));
DRAWTEXT(底背离,OBV,'底背离');