PROTECTED SOURCE SCRIPT
Trend State ADX-DI v6

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.
✅ 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.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.