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.

תמונת-בזק

תמונת-בזק

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.

תמונת-בזק

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.

כתב ויתור