Average Directional Index
DM, DI and DX
Successive bars compare the upward change in the high with the downward change in the low. Positive directional movement is assigned to the greater positive move in the relevant direction; tied moves set both DM values to zero under the classical convention. Then +DI = 100 × smoothed +DM / smoothed True Range, and −DI = 100 × smoothed −DM / smoothed True Range.
Smoothing and implementation
DX = 100 × |+DI − (−DI)| / (+DI + (−DI)), and ADX smooths DX. Classical Wilder smoothing uses a 1/n recursive weight after initialisation. Platforms can offer distinct ADX versions, so compare the method, starting history and data. A zero denominator needs an explicitly documented calculation convention.
Strength without a directional forecast
Levels of 20 and 25 are popular reference points, not proof of an edge or mandatory trend boundaries. Rising ADX can accompany falling or rising prices; falling ADX does not establish a reversal. An ADX filter changes the selected trades, so evaluate its impact after costs and outside the development sample.
Source of the definition
TradingView: ADX. Documentation of the construction or concept is not a guarantee of strategy results.