Direct answer
ADX (Average Directional Index) and a moving average are two common technical indicators used to describe market behavior in forex. ADX focuses on whether price movement is strong and directional, while a moving average (MA) focuses on where price is leaning by smoothing recent price data. Using them together typically means comparing trend strength (from ADX) with trend direction or bias (from the MA), rather than treating either one as a standalone prediction.
This article explains how each indicator works, what goes in (inputs), what comes out (outputs), and the usual sequence for combining them—without assuming any result.
What each indicator is measuring
ADX: trend strength rather than direction
ADX is designed to measure the strength of a trend. It is related to directional movement concepts: how much price moved up versus how much it moved down over a chosen lookback window. A key idea is that ADX is not a direct “up or down” signal by itself; it is primarily about the magnitude of directional movement after smoothing.
In many implementations, ADX is computed from two intermediate components often called positive directional movement (+DM) and negative directional movement (−DM), which reflect whether upward or downward movement dominated over each step.
Moving average: smoothed price and a directional cue
A moving average transforms a raw price series into a smoother line by averaging over a fixed number of periods. Common types include simple moving average (SMA) and exponential moving average (EMA). The moving average does not “know” the future; it summarizes recent history.
Because the MA is smoother than price, traders often use it as a proxy for direction:
- Slope of the MA (rising vs. falling)
- Price relative to the MA (above vs. below)
- Crossovers between different MAs (faster vs. slower)
These are interpretations, not guarantees.
Mechanics: inputs, outputs, and the calculation sequence
Inputs you must choose
Both indicators require configuration choices that affect the resulting values:
- Price source: typically close price, sometimes high/low depending on the ADX formula.
- Period length: the number of bars used for smoothing (e.g., a 14-period ADX is common, but the number is an assumption you control).
- Data frequency: intraday vs. daily bars change what “recent” means.
- Moving average type: SMA vs. EMA changes weighting.
For any example, you need to specify these assumptions so others can reproduce the same output.
ADX computation sequence (high level)
A typical ADX pipeline looks like this:
- Compute directional movement: For each bar, estimate how much the market moved up versus down compared to the previous bar (this yields +DM and −DM values, with rules that select the dominant movement).
- Smooth the directional movement: Apply a smoothing method over the chosen period to reduce noise.
- Compute directional indicators: Transform the smoothed +DM and −DM into scaled measures.
- Compute the directional index (DX): Use the relative difference between the directional indicators to quantify how directional the movement was.
- Smooth DX to get ADX: Apply smoothing again to produce the final ADX value.
Output: ADX is a single line representing smoothed trend strength over time.
Moving average computation sequence (high level)
A moving average pipeline is simpler:
- Select the averaging window: choose a period length.
- Choose the type:
- SMA: average of the last N values.
- EMA: weighted average that emphasizes more recent values.
- Compute the MA per bar: output one MA value for each new bar once the window is available.
Output: a smoothed price line for interpretation.
How the indicators are commonly combined (interpretation sequence)
A neutral way to “combine” them is to align their outputs:
- Read ADX for strength: identify periods where ADX is relatively higher versus lower (under the same period settings).
- Read MA for direction/bias: evaluate whether the MA is rising or falling, and whether price is generally above or below it.
- Compare them: examine whether stronger directional movement (ADX rising or elevated) coincides with MA behavior consistent with that direction.
This is a descriptive check of whether the two indicators broadly agree about trend characteristics, not a statement about future returns.
Evidence or example (with explicit assumptions)
Consider a hypothetical backtest setup with these assumptions:
- Data frequency: 1-hour bars
- ADX period: 14
- Moving average: 50-period SMA on the close
- No transaction costs, slippage, or execution constraints are included for illustration
A reproducible workflow for interpretation can be:
- Compute ADX(14) and the SMA(50) on the same price series.
- Mark time periods where ADX(14) is relatively elevated compared to its own recent history.
- In those same periods, check whether price tends to stay above the SMA(50) and whether the SMA(50) slope is upward (for bullish bias) or downward (for bearish bias).
- Compare how often elevated ADX occurs when the MA slope and price position suggest a directional leaning.
What you can verify independently is the alignment between the computed lines. What you cannot verify from indicators alone is that this alignment will produce specific future outcomes.
Limitations and risks
Parameter sensitivity
Both ADX and moving averages are highly sensitive to parameter choices (period lengths, MA type, and data frequency). Changing these inputs can materially change the indicator timing and therefore any interpretation based on them.
Indicator lag and smoothing effects
A moving average is, by design, a smoothing of past data and typically lags price turns. ADX is also smoothed, so it can reflect trend strength only after movement has already occurred. This means you are often interpreting historical structure, not anticipating new information.
Regime changes can break assumptions
Forex markets can shift between different regimes (for example, periods of range-bound movement versus persistent trending). In range-bound conditions, ADX may behave differently than expected because directional movement may be weaker or alternating.
“Trend strength” does not equal profitability
Even if ADX rises and an MA indicates a directional bias, that describes strength and direction characteristics, not the future path of prices or the impact of costs.
Verification and next questions
What to verify before using them for analysis
To independently verify the relevant facts, you can:
- Reproduce the indicator calculations on the same data with the same settings. 2. Check how indicator behavior changes when you vary the ADX period and MA period. 3.