Regular OBV bothers me because it doesn't consider the candle body size. In the example here above you can see the regular OBV at the bottom and how it just moves sharply down because the price closed just below the open price, if it would have closed just above the open price it would have moved up by the same amount. To me it shouldn't be that way. This is why i created this indicator, to take into consideration the candle body size (as you can see on the example posted here above).
Open-source script
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules.
You can favorite it to use it on a chart.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.