JollyWizard

Singular and Cumulative Volume Delta (SVD+CVD)

This a Volume Delta indicator with Cumulative Volume Delta.

I have been studying Volume Delta and CVD trading strategies and indicator styles.

This implementation was developed to test a basic trailing window / oscillator approach.

Script has been republished as public and searchable.

Changelog from private era follows.

  • Jun 9 (2022)
    Release Notes:
    Added option to use EMA / SMA based cumulation. This will not scale well with singular data, so default view is still SUM.
  • Jun 9 (2022)
    Release Notes:
    Outdated comment correction.
  • Jun 9 (2022)
    Release Notes:
    Added default option to normalilze visual scale of MA cumulation types. The averaging creates a singular value sized results, instead of a range-sums. This multiples that candle result by the range length to get a range-sum sized result.
    Added option to scale the cumulation size relative to the volume size. 1-to-1 scaling creates singular deltas that can be hard to see with all options on. This allows you to beef them up for visual or weighting purposes.
  • Jun 15 (2022)
    Release Notes: * Added break even level for current delta. Tells where current delta must land for cumulative delta to stay flat.
    * Added comparison of historical cumulative levels to current level. The historical levels are the initial values going into current accumulation window.
    * Changed title of indicator to be more generic, clear, and searchable.
  • Jun 15 (2022)
    Release Notes: * Added option to have the cumulation cutoff line AFTER or OVER the end of the cumulation window. This change is to ensure the indicator clearly documents it's behavior and avoids confusion on this / last cumulation window semantics.
  • * Bugfix: Initial levels were pulled from cumulation line which was AFTER end of window. This has been changed to the initial values INSIDE the cumulation window.
  • * Code cleanup.
    June 17th (2022)
    Release Notes: Marked as beta because TV confirmed they no longer allow private scripts to be changed to public. (Despite lingering documentation that says otherwise.
  • June 17th (2022)
    Re-published as public.
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?