OPEN-SOURCE SCRIPT

OBV+

Updated
OBV with an extra twist.

Add up to 4 moving averages and choose from simple, exponential, smoothed, etc.

Choose to display a trend fill. Fill will be green when above the MA4 or red when below it. If the difference between the MA1 and MA4 is growing, the trend fill will be a more solid color indicating a strengthening trend. If the gap is lessening, it will gradually get more transparent indicating a weakening trend.

Finally, options to display bullish and bearish regular and hidden divergences are included.
Release Notes
Updated chart image for clarity.
Release Notes
Name update to make it easier to find
Release Notes
Updated trend fill to allow custom color palette
Release Notes
Updated axis to volume format (i.e. 5183 => 5.183k, 10000 => 10k)
Release Notes
Bug fix to resolve EMA lookback reference range error
DivergenceMoving AveragesOn Balance Volume (OBV)Trend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Reach me on Twitter: @DoctaBot
Sign up for TradingView: tradingview.com/gopro/?share_your_love=federalPlayer66324
USDT (TRC20): TBELyC4PwYpKkdvNdr1iqE1j8abBijibqt
Also on:

Disclaimer