Modified On Balance Volume

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

Modified On Balance Volume

Postby Alexander.Gettinger » Fri Dec 07, 2018 3:01 pm

Formula:
OBV = OBVprevious + VOLUME IF close > closeprevious+Gate
OBV = OBVprevious - VOLUME IF close < closeprevious-Gate
OBV = OBVprevious IF close = closeprevious

If Gate=0, the indicator equivalent to the initial On Balance Volume.

obv_mod.PNG


Download:
obv_mod_JS.jsl
(1.97 KiB) Downloaded 531 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 7 guests