OPEN-SOURCE SCRIPT
Updated

ADX with 20 Threshold

49
I wanted an ADX with a threshold line so I created an indicator.

ADX (20 Threshold) Cheat-Sheet
Purpose: Filter trades by trend strength.
Indicator: ADX (derived from DMI) with optional +DI/−DI lines.
Key Rules:
ADX > 20: Trend is strong → trade OK
ADX < 20: Trend is weak/choppy → avoid trades
Optional +DI / −DI: Shows momentum direction
HTF Use: Stable trend confirmation
LTF Use: Optional filter with EMA slope for entries
Tips:
Combine with EMAs or MACD for directional bias.
ADX does not indicate direction, only strength.
Best used to avoid low-probability trades in sideways markets.
Release Notes
Added name Simon20cent
Release Notes
✅ Changes made:
Added threshold2 for 40.
Added a new hline for 40 with a different color (orange).
Background now optionally highlights if ADX exceeds 40.

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.