Added adjustable DMI length and smoothing, custom candle colors, on/off toggle and an on-chart info box for setup instructions.
This indicator paints each candle green, red or blue based on whether DMI buy or sell pressure is dominant. It replaces standard candle colors with a directional pressure overlay so you can instantly see which side is in control on every bar. Works on all markets and timeframes with adjustable DMI length, smoothing and custom colors.
WHAT IT DOES
A simple candle coloring overlay that replaces standard candle colors with DMI-based buy and sell pressure colors so you can instantly see which side is in control on every bar.
When the Directional Movement Index shows more buying pressure than selling pressure, the candle paints lime green (bullish). When there is more selling pressure than buying pressure, the candle paints red (bearish). When buy and sell pressure are equal, the candle paints blue (neutral). This gives you an instant visual read on the directional pressure behind every bar without having to interpret a separate DMI indicator.
You can change the DMI length and smoothing in the indicator settings to tune the sensitivity of the buy/sell pressure detection to your preferred timeframe and trading style.
All three candle colors (bullish, bearish, neutral) can be customized in the settings. You can also toggle the custom candle coloring on or off to quickly compare against the standard candle colors.
INTERPRETATION GUIDE
Use the color changes to pinpoint reversals and understand the current directional pressure. When candles shift from red to green, buying pressure is taking over. When they shift from green to red, sellers are gaining control. Wait to enter or exit positions until the candles turn the opposite color for confirmation.
For this indicator to display properly, you need to turn off TradingView’s default candle colors. Go to Chart Settings (gear icon in the top right corner), open the Symbol tab, and uncheck Body, Borders and Wick. The indicator includes an on-chart info box reminding you of this step.
CONFIGURATION
The indicator has a small, simple set of options.
| Setting | Default | Description |
|---|---|---|
| DMI Length | 1 | The lookback period for the Directional Movement Index calculation. |
| DMI Smoothing | 1 | The smoothing period applied to the DMI values. |
| Custom Candles On/Off | On | Toggle the custom candle coloring on or off for quick comparison against standard candle colors. |
| Candle Colors | Green / Red / Blue | Customize the bullish, bearish and neutral candle colors. |
GOOD TO KNOW
FREE ON TRADINGVIEW
Add it to your TradingView charts and start seeing directional pressure on every candle today. No subscription required.
COMMON QUESTIONS
CHANGELOG
Added adjustable DMI length and smoothing, custom candle colors, on/off toggle and an on-chart info box for setup instructions.
Removed unnecessary code.
EXPLORE MORE
Free
Combines the Directional Movement Index with Fisher Transform for price action signals. Complements the candle coloring by giving you the full DMI data alongside the visual pressure overlay.
Free
Volume profile with buy and sell pressure labels. Pairs well with DMI-based candle coloring by showing where buying and selling volume is concentrated at each price level.
Free
Detects volume spikes and growing volume patterns. Use alongside pressure-colored candles to see when color changes are backed by significant volume, a stronger confirmation signal.