ADX Gradient [Gabremoku]ADX Gradient is a directional strength indicator built on Wilder's classic ADX, enhanced with a smooth multi-stage color gradient that makes it immediately clear how strong the current trend is — no thresholds to memorize, just read the color.
How it works
The ADX line changes color dynamically based on its current value, following a logical progression from neutral to extreme:
🔘 < 15 — Gray: no trend, range-bound market
🟢 15–25 — Green gradient: trend forming / confirmed
🔵 25–45 — Blue gradient: trend developing
🟠 45–55 — Orange: strong trend
🔴 55+ — Red / bright red: extreme trend strength
Features
Wilder ADX with customizable length and smoothing period
Smooth gradient coloring across 7 strength zones
Optional DI+ / DI− lines for directional context
Colored dashed reference bands at levels 20, 30, 50 and 60
Colored fill bands between levels for quick visual reading
Built-in alert conditions on ADX crossing 20, 30, and 50
How to use
Use this indicator alongside your existing strategy to gauge trend quality. A rising ADX in green/blue suggests a healthy trend worth following. Orange and red zones signal a potentially exhausted or overextended move — use with caution. When ADX is gray and falling, prefer range or mean-reversion setups.
Settings
ADX Length: lookback period for True Range and DM smoothing (default: 14)
ADX Smoothing: RMA smoothing period for the final ADX line (default: 14)
Show DI+ / DI−: toggle directional indicator lines on/off
Published by Gabremoku
مؤشر Pine Script®






















