OPEN-SOURCE SCRIPT

Cumulative Volume Delta Custom Alert

Updated
Description
This script calculates and visualizes the Cumulative Volume Delta (CVD) on multiple timeframes, enabling traders to monitor volume-based price action dynamics. The CVD is calculated based on up and down volume approximations and displayed as a candle plot, with color-coded alerts when significant changes occur.

Key Features:

Multi-Timeframe Analysis: The script uses a customizable anchor period and a lower timeframe for scanning, allowing it to capture more granular volume movements.

Volume-Based Trend Detection: Plots CVD candles with color indicators (teal for increasing volume delta, red for decreasing), helping traders to visually track volume trends.

Dynamic Alerts for Volume Shifts:

Triggers an alert when there is a significant (over 25%) change in CVD between consecutive periods.
The alert marker color adapts based on the current CVD value:
Blue when the current CVD is positive.
Yellow when the current CVD is negative.
Markers are placed above bars for volume increases and below for volume decreases, simplifying visual analysis.
Customizable Background Highlight: Adds a background highlight to emphasize significant CVD changes.

Use Cases:

Momentum Detection: Traders can use alerts on large volume delta changes to identify potential trend reversals or continuation points.
Volume-Driven Analysis: CVD helps distinguish buy and sell pressure across different timeframes, ideal for volume-based strategies.
How to Use
Add the script to your TradingView chart.
Configure the anchor and lower timeframes in the input settings.
Set up alerts to receive notifications when a 25% change in CVD occurs, with color-coded markers for easy identification.
Release Notes
Description
This script calculates and visualizes the Cumulative Volume Delta (CVD) on multiple timeframes, enabling traders to monitor volume-based price action dynamics. The CVD is calculated based on up and down volume approximations and displayed as a candle plot, with color-coded alerts when significant changes occur.

Key Features:

Multi-Timeframe Analysis: The script uses a customizable anchor period and a lower timeframe for scanning, allowing it to capture more granular volume movements.

Volume-Based Trend Detection: Plots CVD candles with color indicators (teal for increasing volume delta, red for decreasing), helping traders to visually track volume trends.

Dynamic Alerts for Volume Shifts:

Triggers an alert when there is a significant (over 25%) change in CVD between consecutive periods.
The alert marker color adapts based on the current CVD value:
Blue when the current CVD is positive.
Yellow when the current CVD is negative.
Markers are placed above bars for volume increases and below for volume decreases, simplifying visual analysis.
Customizable Background Highlight: Adds a background highlight to emphasize significant CVD changes.

Use Cases:

Momentum Detection: Traders can use alerts on large volume delta changes to identify potential trend reversals or continuation points.
Volume-Driven Analysis: CVD helps distinguish buy and sell pressure across different timeframes, ideal for volume-based strategies.
How to Use
Add the script to your TradingView chart.
Configure the anchor and lower timeframes in the input settings.
Set up alerts to receive notifications when a 25% change in CVD occurs, with color-coded markers for easy identification.
educationalVolume

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?

Disclaimer