OPEN-SOURCE SCRIPT

Aggr. CDV / Delta Volume - InFinito

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

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***
***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.


All Aggregated Volume By Side: Based of Xel_Arjona's calculation, buy and sell volume is estimated each period. This indicators can display both Buy Volume and Sell Volume for each period.

Aggregated Delta Volume By Side: Displays the difference between Buy & Sell Volume as Delta (Down if Sell Vol - Up if Buy Vol)

Aggregated Cumulative Delta Volume: Displays the sum of Delta Volume as a line, candles or Heiken Aishi Candles. Great for observing Volume Flow and spotting divergences
- It is Possible to add an MA to the CVD and to color fill in between the indicator and the MA
- It is possible to reset the indicators basis to 0 periodically


Release Notes

- IN ORDER TO IMPROVE CVD FUNCTIONALITY AND TO INCREASE INDICATOR SIMPLICITY, DELTA VOLUME BY SIDE FUNCTIONALITY HAS BEEN REMOVED (AND WILL BE PUBLISHED AS A SEPARATE INDICATOR)

- THE ISSUE WITH AUTO SCALING CVD HAS BEEN FIXED


Release Notes
  • Fixed Aggregation Error
Release Notes
  • Set default to OFF on FTX pairs to improve accuracy
  • Set default MA setting to ON
Release Notes
Fixed Invalid Symbol Error
Release Notes
- Fixed Invalid Symbol Error
Release Notes

  • FIXED INVALID SYMBOL ERROR
Release Notes

  • Modified Presets to current relevant exchanges
CDVcumulativevolumedeltaCVDdeltadeltavolumevolumedelta

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