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 secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya secara bebas dan tanpa apa-apa had – ketahui lebih di sini.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.