Notice

Report a bug to support@oyticker.com to win a free 1 month Plus Subscription

From the Oyticker team
Indicators · Trend

ADX and DMI

Directional movement (Welles Wilder) separates two questions. The two DI lines say which side has been moving further, bar after bar: +DI for higher highs, −DI for lower lows. The ADX says how one-sided that movement is, whatever the side: high in a trend, low in a market going nowhere.

What it's for
  • Tell a trending market from a sideways one with a single number.
  • Read which direction has dominated from the order of +DI and −DI.
  • Notice a trend losing strength when the ADX turns down.
Pane
Its own pane
Settings
DI length, ADX smoothing
Default
14, 14

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.
ADX above 25 during an advance with +DI above −DI, then falling below 20 as prices move sideways
During the advance +DI stays above −DI and the ADX rises above 25. When prices start moving sideways the ADX falls back below 20, while price is still near its high.

Add it in Oyticker

  1. Click Indicators, choose ADX and DMI.
  2. 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.