OPEN-SOURCE SCRIPT

MACD of Aggregated Buy/Sell Pressure - InFinito

Updated
Modified & Updated script from MARKET VOLUME by Ricardo M Arjona xel_arjona that Includes Aggregated Volume

Aggregation code originally from Crypt0rus

***The indicator can be used for any coin/symbol to aggregate volume , but it has to be set up manually***
***The indicator can be used with specific symbol data only by disabling the aggregation option, which allows for it to be used on any symbol***

- Calculated based on Aggregated Volume instead of by symbol volume . 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.

Buy to Sell Convergence / Divergence by xel_arjona:
"It's a simple adaptation of the popular "Price Percentage Oscillator" or MACD but taking Buying Pressure against Selling Pressure Averages, so given a Positive oscillator reading (>0) represents Bullish dominant Trend and a Negative reading (<0) a Bearish dominant Trend. Histogram is the diff between RAW Volume Pressures Convergence/Divergence minus Normalized ones (Signal) which helps as a confirmatory."

Things to look for:

- Divergences: This indicator can very useful to spot tops and bottoms through divergences
Release Notes
  • Fixed Aggregation Error
  • Switched FTX pairs default setting to OFF to increase accuracy
Release Notes
Fixed Invalid Symbol Issue
Release Notes
- Fixed Invalid Symbol Error
aggregatedvolumeBitcoin (Cryptocurrency)cryotocurrencyMoving Average Convergence / Divergence (MACD)macdivergencetradingVolume

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?


Also on:

Disclaimer