OPEN-SOURCE SCRIPT

Heikin-Ashi Cumulative Volume Delta (CVD)

128
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.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.