M:=3; VA:=IF(CLOSE>REF(MAX(O,C),1),VOL, IF(CLOSE<REF(MIN(O,C),1),-VOL, ((C-L)-(H-C))/(H-L)*V)); OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); MAOBV:MA(OBV,M);
看股吧 公式 www.kanguba .com