PROTECTED SOURCE SCRIPT

Trend State ADX-DI v6

92
This indicator combines the classic ADX (Average Directional Index) and DI+ / DI– (Directional Indicators) with a modern, easy-to-read visual approach. It highlights trend strength and direction directly on your chart background:

✅ Bullish Trend – DI+ crosses above DI– with ADX above threshold
✅ Bearish Trend – DI– crosses above DI+ with ADX above threshold
✅ Choppiness – ADX below threshold, indicating sideways or weak trend
✅ Transition – Optional highlight for periods near the threshold, signaling a potential trend change

Plots for ADX, DI+, and DI– help you track trend momentum, while customizable background colors make it easy to spot trading conditions at a glance. Alerts included for bullish and bearish trend signals.

Perfect for day traders and swing traders looking to identify strong directional moves and avoid choppy markets.

Created by ThomasO_777, updated for Pine Script v6 by ChatGPT.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.