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.