OPEN-SOURCE SCRIPT

Heikin-Ashi Cumulative Volume Delta (CVD)

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

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.