龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-10-9 15:12

[转载]自用OBV(源码)

[attach]4457[/attach]

[color=#323e32][font=simsun][size=14px]源码:[/size][/font][/color]



[color=#323e32][font=simsun][size=14px][code]
OBV:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
OBV10:MA(OBV,10),COLORRED;
OBV30:MA(OBV,30),COLORYELLOW;
MA100:MA(OBV,100),COLORGREEN;
[/code]
[/size][/font][/color]

页: [1]