noop-noop

Cumulative Delta

This scripts calculates the cumulative volume delta within the current day.

Options allow you to change the display type of this data (3 different configurations are given in the chart above)

The following options are available:
  • Colors selection
  • Reset cumulative delta everyday (can be disable to keep a continuous calculation of the delta over days)
  • Show histogram (used to display the delta as a positive/negative histogram)
  • Show daily High/Low levels (draw highest and lowest delta levels within the day)
  • Show candles (display the cumulative delta as candles)
  • Show Moving average (display a moving average which is reseted everyday at the same time as the cumulative delta itself)
  • Moving average length

This script will be updated if I feel the need to improve things or to add new features
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?