Calculation
+DM = high − high[1] if it is larger than (low[1] − low) and positive, else 0 −DM = low[1] − low if it is larger than (high − high[1]) and positive, else 0 +DI = 100 · RMA(+DM, n) / RMA(true range, n) −DI likewise ADX = RMA( 100 · |+DI − −DI| / (+DI + −DI), smoothing )
RMA is Wilder's moving average. These are the definitions of TradingView's built-in DMI.
How to read it
- ADX above about 25 describes a market moving mostly one way; below about 20, one without direction. The ADX does not say which way.
- +DI above −DI means upward movement has dominated; the reverse for a decline.
- A falling ADX during an advance shows the trend losing its one-sidedness, not necessarily prices falling.

Add it in Oyticker
- Click Indicators, choose ADX and DMI.
- In its row of the legend, click the Settings button to set the two lengths.
Limits
- Smoothed twice: it confirms a trend well after it has started.
- The thresholds are conventions that depend on the asset and the timeframe.
- A high ADX says the past move was one-sided, nothing about what follows.
Charts in this guide use simulated prices generated for illustration; levels and outcomes shown are examples, not observations of a real market. For information only, not investment advice.