OPEN-SOURCE SCRIPT

Delta Candle Colors

The Delta Divergences indicator provides a visual representation of volume delta, which measures the difference between buying pressure and selling pressure within a candle. This is achieved by using intrabar (lower timeframe) volume and price fluctuations to estimate the delta between buying and selling pressure within each bar.

By color-coding candles based on this volume delta, traders can gain insight into the strength behind price movements and spot potential divergences. When a candle closes positively (higher than the previous close) but the volume delta is negative (more selling than buying), or when a candle closes negatively with a positive delta (more buying than selling), it indicates a divergence. These divergences can signal potential trend exhaustion or possible reversals.

snapshot

snapshot

The indicator includes custom alerts that notify the trader when these divergences occur:
  • Positive close with negative delta: Signals that the price is rising, but selling pressure is higher.
  • Negative close with positive delta: Signals that the price is falling, but buying pressure is higher.


In addition to color-coding candles based on delta, the indicator provides an option to display delta labels directly on the chart for each candle.

snapshot

Finally, the option to only show divergences can be turned on. When enabled, non-divergent candles are colored normally, while only candles with delta divergences are highlighted, allowing traders to focus on the most relevant market information.
deltadeltadivergencedeltatraderDivergencequantvueTrend AnalysisVolatility

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?


Get Access to the exclusive QuantVue indicators: quantvue.io/

Join thousands of traders in our Free Discord: discord.gg/tC7u7magU3
Also on:

Disclaimer