请问指标OBV的两条线OBV和MAOBV非常接近,几乎粘合在一起。如何写一个...答:具体的选股公式如下:M:=30;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);M:=30;VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:=MA(OBV,M);死叉:...
同花顺obv指标两根线公式答:obv:SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/10000;MaoBV:MA(OBV,30),colorred,LINETHICK2;SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/10000