Glossary term

Moving average

The average price over a set number of recent periods, recalculated as each new candle forms. It smooths out day-to-day noise so the underlying direction of a trend is easier to see.

6 min read

What a moving average means

A moving average is a line on a price chart that shows the average price over a fixed number of recent periods. Each time a new candle closes, the oldest value drops out of the calculation and the newest one is added, so the average moves forward with the market. The result is a smoother line than the raw price, which makes the broader direction easier to see.

It is one of the oldest and most widely used technical indicators and appears in the default toolkit of nearly every charting platform. Traders apply it to shares, indices, forex pairs and crypto, and on timeframes from a few minutes to weekly charts. Analysts also use moving averages outside trading, for example to smooth economic data.

A moving average is descriptive. It summarises what has already happened. It does not forecast the next price, and it is not a trading signal on its own.

How it works

The calculation depends on the type of average. Two are standard:

  • Simple moving average (SMA): add the closing prices of the last N periods and divide by N. Each period has equal weight.
  • Exponential moving average (EMA): give more weight to recent prices, using a smoothing factor of 2 divided by (N + 1). The new EMA equals the latest price times the factor plus the previous EMA times (1 minus the factor).

Common lengths include 10, 20, 50, 100 and 200 periods. The 50 and 200 on a daily chart are widely watched. A shorter period reacts faster but is noisier; a longer period is smoother but lags more.

Traders read moving averages in a few ways:

  1. Direction. A rising line suggests an uptrend over that window, a falling line a downtrend, a flat line a sideways market.
  2. Price location. Price above the average is often read as stronger, price below as weaker.
  3. Crossovers. A shorter average crossing a longer one is read as a change in momentum. Such crossovers are often called golden cross or death cross at the 50 and 200 level.
  4. Dynamic support and resistance. Price sometimes pauses or turns near a widely followed average.

A worked example

These numbers are illustrative. A share closes at 100, 102, 101, 103 and 104 on five consecutive days.

  • 5-day SMA = (100 + 102 + 101 + 103 + 104) ÷ 5 = 510 ÷ 5 = 102.0

Next day the share closes at 106.

  • New window: 102, 101, 103, 104, 106. Sum = 516, so the SMA = 516 ÷ 5 = 103.2.

For a 5-period EMA the factor is 2 ÷ (5 + 1) = 0.3333. If the previous EMA was 102.0:

  • EMA = 106 x 0.3333 + 102.0 x 0.6667 = 35.33 + 68.00 = 103.33

The EMA, at 103.33, is slightly higher than the SMA because it gives more weight to the latest, higher close. Both lines trail the 106 price, which shows the lag built into every moving average.

Why it matters

Moving averages give a clear, rule-based reference. They reduce visual noise, help describe trend strength and give traders a common language: many people watch the same 50 and 200 lines. Because they are objective, they are easy to test and automate.

They also form the base of other tools. MACD is built from the difference between two EMAs, and Bollinger Bands are centred on a moving average. Understanding the average helps you understand these tools.

The trade-off is lag. A moving average always follows price, so in a sharp reversal it reacts late, and in a sideways market it can produce many false crossovers.

How to use it in practice

  1. Choose the type and length to match your timeframe and read what the average says about direction.
  2. Use one or two averages, not a cluttered chart.
  3. Look at slope and distance between price and the line, not only crossovers.
  4. Combine with other context such as volatility, levels and the wider trend.
  5. Backtest or at least review the settings on historical charts across different market conditions.
  6. Use a demo account to see how you react before risking money.

Common mistakes and misconceptions

  • Treating a crossover as a guaranteed signal. Crossovers often fail, especially in range-bound markets.
  • Believing the 200-day average is magic. It is popular, so it is watched, but it has no special power.
  • Optimising settings to fit the past. A setting that fit last year may not fit next year.
  • Ignoring lag when setting stops or targets.
  • Mixing up SMA and EMA values from different platforms or data feeds.

Risks and limitations

Moving averages are based on past prices and do not predict. They lag, whipsaw in choppy markets and depend on chosen settings. Sudden gaps and news can leave price far from the line. Leveraged trading on the basis of any indicator can result in rapid losses.

How Brokeli looks at it

Moving averages are a platform feature, so in broker research we look at whether charting tools offer SMA, EMA and other types, custom periods and alerts. We do not endorse any settings or strategy. Platform capability data comes from published research snapshots.

Frequently asked questions

What is a moving average in trading?

It is a line showing the average price over a set number of recent periods, updated with each new candle. It smooths short-term noise so the general direction of the market is easier to see.

What is the difference between SMA and EMA?

A simple moving average weights every period equally, while an exponential moving average gives more weight to recent prices. The EMA reacts faster to changes but can also be noisier than the SMA of the same length.

Which moving average period is best?

There is no best period. Shorter lengths such as 10 or 20 react quickly, while 50, 100 or 200 show longer trends. The right choice depends on your timeframe and approach, and it should be tested rather than assumed.

What is a golden cross?

It is when a shorter average, commonly the 50-period, crosses above a longer one, commonly the 200-period. It is a descriptive event based on past prices, and it is not a reliable forecast on its own.

Is a moving average a trading signal?

No. It describes recent price behavior and lags the market. Traders may use it as one input among several, but it does not predict future prices and can give false readings, especially in sideways markets.

Moving average — Brokeli glossary · Brokeli