Risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure
Lesson 3 of 103 min read

Moving averages

Moving averages smooth price data to make the direction of a market easier to assess. Building on support, resistance and trends, this lesson explains how moving averages work, how traders interpret them, and why their signals need context rather than being treated as instructions to trade.

1. What moving averages show

A moving average is a line calculated from a selected number of price observations. As each new observation becomes available, the calculation updates, creating a rolling view of price. Closing prices are commonly used, although other price inputs are possible. By smoothing individual price changes, the line can make a broader trend easier to recognise, while hiding some short-term detail.

The period tells you how many observations the calculation uses. A 20-period moving average on an hourly chart uses hourly bars; on a daily chart, it uses daily bars. A shorter period generally responds faster to price changes, while a longer period produces a smoother, slower line. Neither is automatically better: they describe price behaviour over different horizons.

2. Simple versus exponential

A simple moving average, or SMA, gives equal weight to every price in its calculation. A 10-period SMA adds the latest ten selected prices and divides the total by ten. An exponential moving average, or EMA, gives greater weight to recent prices, while retaining a diminishing influence from older observations. For the same period setting, an EMA usually reacts more quickly to recent price changes.

Faster reactions involve a trade-off. An EMA may reflect a developing change earlier, but it can also respond more strongly to temporary fluctuations. An SMA changes more evenly, although it may take longer to reflect a shift. Both are lagging indicators because they are calculated from observed prices. Neither can confirm in advance whether a new price move will continue.

3. Worked example: a five-period SMA

Suppose five completed EURUSD bars have these hypothetical closing prices: 1.1000, 1.1020, 1.1010, 1.1030 and 1.1040. Their sum is 5.5100. Dividing by five gives a five-period SMA of 1.1020. The latest close, 1.1040, is therefore 0.0020, or 20 pips, above the average. This measures the distance from a recent average; it does not establish whether the price is expensive or likely to fall.

Now suppose the next bar closes at 1.1050. The oldest close, 1.1000, leaves the calculation, and the new close enters it. The updated sum is 5.5150, giving an SMA of 1.1030. The average has risen by 10 pips, while the latest close is now 20 pips above it. This shows how the line follows changing prices without matching every individual movement.

4. Reading trends and crossovers

A rising moving average indicates that its calculated values are increasing; a falling one indicates the reverse. Price remaining above a rising average can support an interpretation of an upward trend, especially when higher highs and higher lows are also visible. Some traders watch averages as potential dynamic support or resistance, meaning reference levels that move over time. Price can nevertheless cross them repeatedly.

A crossover occurs when price crosses an average, or when a shorter-period average crosses a longer-period one. A shorter average moving above a longer average is often interpreted as strengthening upward momentum; the reverse can suggest weakening momentum. However, crossovers occur after prices have already changed. In a sideways market, repeated crossings can produce whipsaws: apparent direction changes that quickly reverse.

5. Applying averages in MT5

In MT5, add a Moving Average from the indicators menu and review its period, method and applied price. Keep the chart timeframe in mind when comparing settings. An average based on the current, unfinished bar can change as prices update, so an intrabar crossover may disappear before the close. Waiting for a completed bar removes that particular uncertainty, but does not guarantee a reliable signal.

Moving averages are most useful as part of a structured description of market conditions, not as standalone entry or exit rules. Compare their slope and price position with the support, resistance and trend structure covered previously. Adding many similar averages may create clutter rather than independent evidence. CFDs are leveraged and carry a high risk of loss; indicators do not replace risk controls. The next lesson introduces RSI and MACD.

KEY TAKEAWAYS
  • Moving averages smooth price data but lag behind changing prices.
  • SMAs weight observations equally; EMAs emphasise recent prices.
  • Crossovers can reverse, particularly in sideways markets.
  • Interpret averages alongside price structure and appropriate risk controls.
Practise what you learn
Open a free demo account and try it with virtual funds first.

Risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money. Academy lessons are general education only and are not investment advice. Risk disclosure