OPEN-SOURCE SCRIPT
Aggiornato CVD Signals Overlay

Cumulative Volume Delta — Signals Overlay plots CVD Cross Buy and CVD Cross Sell labels directly on your price chart bars. It is the companion to the CVD Candle Pane script and must be added to the existing price chart pane (not a new pane) so that the labels appear alongside your price action rather than in the sub-pane.
Signal logic. The indicator replicates the identical CVD calculation from the Pane script, then computes a moving average of that CVD. A CVD Cross Buy label fires when the CVD crosses above its MA — indicating that net buying pressure has turned upward relative to its recent average, which often precedes or confirms bullish price moves. A CVD Cross Sell label fires when the CVD crosses below its MA, signaling that net selling pressure is accelerating.
Signal gating — no repainting. Raw CVD/MA crossovers can be noisy, especially during choppy, low-volume periods. The Min Bars Between Signals input (default 10) suppresses a new signal unless the most recent opposite cross occurred at least that many bars ago. This gating is implemented exclusively using ta.barssince, a pure series function in Pine Script v5 that carries no stored state. Because it recalculates identically on every chart render, signals are fully deterministic — they will never shift, move, or disappear when you pan, zoom, replay, or refresh the chart.
Visual elements. A teal upward label marks each CVD Cross Buy signal below the bar. A fuchsia downward label marks each CVD Cross Sell signal above the bar. An optional background flash highlights the signal bar with a translucent color for added visibility. Both label colors and the background flash can be toggled in the settings.
Alerts. Two alert conditions are built in — one for CVD Cross Buy and one for CVD Cross Sell — compatible with TradingView's standard alert system.
Signal logic. The indicator replicates the identical CVD calculation from the Pane script, then computes a moving average of that CVD. A CVD Cross Buy label fires when the CVD crosses above its MA — indicating that net buying pressure has turned upward relative to its recent average, which often precedes or confirms bullish price moves. A CVD Cross Sell label fires when the CVD crosses below its MA, signaling that net selling pressure is accelerating.
Signal gating — no repainting. Raw CVD/MA crossovers can be noisy, especially during choppy, low-volume periods. The Min Bars Between Signals input (default 10) suppresses a new signal unless the most recent opposite cross occurred at least that many bars ago. This gating is implemented exclusively using ta.barssince, a pure series function in Pine Script v5 that carries no stored state. Because it recalculates identically on every chart render, signals are fully deterministic — they will never shift, move, or disappear when you pan, zoom, replay, or refresh the chart.
Visual elements. A teal upward label marks each CVD Cross Buy signal below the bar. A fuchsia downward label marks each CVD Cross Sell signal above the bar. An optional background flash highlights the signal bar with a translucent color for added visibility. Both label colors and the background flash can be toggled in the settings.
Alerts. Two alert conditions are built in — one for CVD Cross Buy and one for CVD Cross Sell — compatible with TradingView's standard alert system.
Note di rilascio
Updated EMA to reset on Globex openScript open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.