How to use the 20 moving average in forex (and verify it with ADX)

Explore How to use the: mechanics, differences, limitations, and practical checks.

What “using the 20 moving average” means in forex

The phrase “20 moving average” usually refers to a moving average calculated from the most recent 20 price data points (most commonly 20 candlesticks). You use it as a smoothing tool: instead of reacting to every candle, you look at the averaged line to interpret direction and momentum of price.

In practice, you typically compare:

  • Price vs. the moving average (is price mostly above or below it?)
  • The moving average’s slope (is it rising or falling?)
  • How price reacts near the moving average (does price often pull back toward it or cross it frequently?)

Different moving-average types exist (for example, simple vs. exponential). The basic idea is the same—average the last N points—but the weighting differs. If your chart platform allows you to choose the type, keep that setting consistent when you evaluate results.

How a 20 moving average works (inputs and operation)

A moving average line is computed from historical prices using a window length of 20.

  1. Choose the price input Common inputs are close price, but platforms may let you choose open/high/low/close. Your interpretation should match the chosen input.

  2. Compute the average for each new candle Once at least 20 candles are available, each new candle updates the moving average by including the newest data point and dropping the oldest one from the window.

  3. Read it as “trend context,” not a signal A 20 moving average is inherently backward-looking. It reflects what price has already done over the last 20 periods. That makes it useful for describing context, but it can lag during fast reversals.

Example checks to confirm you’re using it correctly

Because platforms and settings can vary, independent checks help ensure your interpretation is grounded.

Check 1: Window length and alignment

Confirm the indicator shows a 20-period line and that it updates on the same candle timeframe you are analyzing. If you switch timeframes, the meaning of “20” changes because the candle duration changes.

Check 2: Slope and recent structure

Look at whether the 20 moving average is generally sloping up, down, or flat during the same period where price appears to trend or range.

  • In a steady up-move, the line often rises.
  • In a choppy range, the line often flattens and price may cross it repeatedly.

Check 3: Reaction frequency near the line

Ask a simple question: does price frequently cross the 20 moving average, or does it more often hold one side of it? Frequent crossings often correspond to range conditions where moving-average guidance can be less stable.

Check 4: Using ADX only as “trend strength context”

Within the canonical scope of “ADX and moving average,” ADX can be used as an additional context measure of trend strength rather than a standalone trigger. If the market shows a stronger trend environment, the moving average’s direction often aligns more consistently with price movement. If trend strength is weak, moving averages can whip-saw.

Limitations and risks (what you cannot conclude)

A 20 moving average is a smoothing mechanism with built-in lag and sensitivity to the chosen timeframe.

Key limitations:

  • Lag risk: When price reverses quickly, the 20 moving average may continue moving in the prior direction for several candles.
  • Whipsaw in ranges: In sideways markets, price may cross the moving average frequently, reducing clarity.
  • Parameter dependence: Changing the moving-average type (for example, simple vs. exponential) or the timeframe can change how the line behaves.
  • No guaranteed outcomes: Even if the method “looks correct” on a chart, past behavior does not ensure future results.
Trading foreign exchange and CFDs involves substantial risk. Information on FoxiForex is educational and is not personal financial advice. Sponsored placements are labelled clearly.