OBV的小公式
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL); OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); MAOBV:MA(OBV,M); 要求:OBV上穿MAOBV 解答如下: VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL); OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); MAOBV:=MA(OBV,M); CROS
-
文章来源:股海网作者:股海网发布时间:2019-10-12浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,M);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:MA(OBV,M);
要求:OBV上穿MAOBV
解答如下:
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,M);
CROSS(OBV,MAOBV);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,M);
CROSS(OBV,MAOBV);