OPEN-SOURCE SCRIPT
Heikin-Ashi Cumulative Volume Delta (CVD)

Heikin-Ashi Cumulative Volume Delta (CVD)
This indicator combines Heikin-Ashi calculations with a Cumulative Volume Delta (CVD) to highlight trends in volume.
🔹 Heikin-Ashi Calculation – Smooths out price action to filter noise and provide a clearer trend signal.
🔹 Adjusted Volume Delta – Uses a dynamic threshold based on 10 SMA to reduce sensitivity and eliminate minor fluctuations, showing only meaningful shifts in buying and selling pressure.
🔹 Cumulative Volume Delta (CVD) – Accumulates positive or negative volume depending on Heikin-Ashi candle direction, offering insight into underlying order flow.
🔹 EMA Trend Filters – Two user-adjustable EMAs (default: 20 & 50) applied to CVD, color-coded to indicate trend bias (green/red for short EMA, blue/orange for long EMA).
🔹 Visual Enhancements –
CVD plotted as coloured dots (green = bullish, red = bearish, grey = neutral).
EMA lines dynamically change colour with trend direction.
Price bars are recoloured to match the delta (green = buy pressure, red = sell pressure, grey = neutral).
Useful for spotting divergences between price and volume flow, identifying hidden accumulation/distribution, and confirming trend continuation or reversal signals.
This indicator combines Heikin-Ashi calculations with a Cumulative Volume Delta (CVD) to highlight trends in volume.
🔹 Heikin-Ashi Calculation – Smooths out price action to filter noise and provide a clearer trend signal.
🔹 Adjusted Volume Delta – Uses a dynamic threshold based on 10 SMA to reduce sensitivity and eliminate minor fluctuations, showing only meaningful shifts in buying and selling pressure.
🔹 Cumulative Volume Delta (CVD) – Accumulates positive or negative volume depending on Heikin-Ashi candle direction, offering insight into underlying order flow.
🔹 EMA Trend Filters – Two user-adjustable EMAs (default: 20 & 50) applied to CVD, color-coded to indicate trend bias (green/red for short EMA, blue/orange for long EMA).
🔹 Visual Enhancements –
CVD plotted as coloured dots (green = bullish, red = bearish, grey = neutral).
EMA lines dynamically change colour with trend direction.
Price bars are recoloured to match the delta (green = buy pressure, red = sell pressure, grey = neutral).
Useful for spotting divergences between price and volume flow, identifying hidden accumulation/distribution, and confirming trend continuation or reversal signals.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.