Average Directional Index (ADX)
The Average Directional Index (ADX) is a technical indicator developed by J. Welles Wilder to measure the strength of a market trend, regardless of its direction. It is derived from the Positive Directional Indicator (+DI) and the Negative Directional Indicator (-DI), which together form the Directional Movement System. The ADX is calculated by smoothing the absolute difference between +DI and -DI, then dividing it by their sum and multiplying by 100. The result is a single line that oscillates between 0 and 100, where higher values indicate a stronger trend.
A reading below 20 typically signals a weak or absent trend, while a reading above 25 suggests a trend worth trading. Values above 40 indicate a very strong trend, and readings above 50 are relatively rare and suggest an extremely powerful directional move. Importantly, ADX rising from a low level indicates a trend is gaining strength, while a declining ADX — even if still high — suggests the trend may be losing momentum. Traders use these shifts to time entries and exits in trend-following strategies.
For crypto algorithmic traders, ADX is an essential component of many bot strategies because it helps separate trending markets — where momentum strategies thrive — from ranging markets where mean-reversion logic is more appropriate. By monitoring the ADX value alongside the +DI and -DI lines, bots can determine not only whether to trade but in which direction. A common configuration involves entering long when +DI crosses above -DI with ADX above 25, and entering short on the reverse. This framework helps avoid low-probability trades during flat, consolidating market phases.