OPEN-SOURCE SCRIPT

Aggregated On Balance Volume - InFinito

Updated
On Balance Volume calculated with aggregated and normalized volume data and a few other features:

Aggregation code originally from Crypt0rus
Candle Plotting code from LonesomeTheBlue

***The indicator can be used for any coin/symbol to aggregate volume, but it has to be set up manually***

As normal OBV, this indicator can be used to find divergences and to have an idea of volume flow. Using aggregated data makes it more accurate and allows to compare volume flow between different kinds of markets (Spot, Futures, Perpetuals, Futures+Perpetuals and All Volume).

As well, in order to make the data as accurate as possible, the data from each exchange aggregated is normalized to report always in terms of 1 BTC. In case this indicator is used for another symbol, the calculations can be adjusted manually to make it always report data in terms of 1 contract/coin.

Extra features:

- Based off LonesomeTheBlue, OBV can be plotted as candles and as Heiken Aishi candles (which give wick information)
- A Moving Average (SMA, EMA, WMA, RMA, VWMA) can be plotted to the OBV. This can be used as a confluent signal to enter a trade on a crossover or to know the strength of the current move.
- The OBV basis can be reset to 0 periodically, making it more oscillator-like and allowing to focus only on a certain period of time.
Release Notes
- UPDATED SETTINGS MENU TO SHOW CANDLE COLORING SETTINGS AT AN EASIER PLACE TO FIND

- FIXED BUG THAT DID NOT ALLOW FOR THE SCALE TO ADJUST/RESET PROPERLY

- FIXED CANDLE AND ZERO LINE FILL COLOR BUG WHEN USING THE "RESET SETTING"
Release Notes
FIXED AGGREGATION ERROR
Release Notes
  • Fixed loading error because of FTX symbols
  • Switched default MA setting to ON
Release Notes
Fixed Invalid Symbol Issue
Release Notes
- Fixed Invalid Symbol Error
aggregatedobvaggregatedvolumeBitcoin (Cryptocurrency)cryptoCVDOn Balance Volume (OBV)trading

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?


If you want to support the work:

BTC: bc1qvag25270s20gqyun9sndjnv7tnvx8jj5ay62n5
Also on:

Disclaimer