level2lab
DE
Sign inStart learning
Esc

Popular:

↑↓ select↵ open

Level 1: Charts & Risk · Lesson 8 of 14

Moving averages

SMA and EMA: the simplest trend filter in the world. How they are calculated, which lengths are common and where their limits are.

  • about 14 minutes
  • Explainer video
  • 2 homework tasks
  • Knowledge check

The moving average is probably the most widely used indicator. It smooths a price’s swings into a calm line and shows you at a glance which way the market is moving on average.

Prefer to watch first? The video sums up the lesson in a few minutes. Subtitles are always on.

Read the video text
  1. Moving averages are among the most popular indicators. Here you learn what they are good for and what they are not.
  2. The SMA is the simple average of the last closing prices. The EMA weights recent prices more heavily and therefore reacts faster. Common lengths are 10, 20, 50 and 200.
  3. The best use is as a trend filter. If price is above a rising 200-day average, you mainly look for long trades. Below it, you are careful.
  4. In a trend, the average often acts as a dynamic zone. Pullbacks run toward the average and turn back up there.
  5. Crossovers, like the golden cross, are well known, but they come late. In sideways phases they constantly give false signals. Use them as confirmation at most.
  6. Never forget: an average follows price, it predicts nothing. In sideways phases it is almost useless.
  7. In short: use averages as a trend filter and as a dynamic zone in a trend. Crossovers come late, and they cannot predict anything.

How it is calculated

A 5-day simple moving average (SMA) is the average of the last 5 closing prices:

Day Close SMA 5
1 100 –
2 102 –
3 101 –
4 104 –
5 103 (100 + 102 + 101 + 104 + 103) ÷ 5 = 102.0
6 106 (102 + 101 + 104 + 103 + 106) ÷ 5 = 103.2

“Moving” means: every day the oldest value drops out and the newest one is added.

The exponential moving average (EMA) gives more weight to recent prices. That makes it react faster to changes, but it also swings more.

SMA EMA
Weighting All days equal Recent days more
Reaction Slower Faster
False signals Fewer More
Popular with Swing and position traders Day and swing traders
Rechne mit

The last five closing prices: €10, €11, €12, €13 and €14. What is the SMA 5?

€

Common lengths

Length Typical use
9 / 10 Very short-term trend, often in day trading
20 / 21 Short-term trend, popular with swing traders
50 Medium-term trend
200 Long-term trend, watched worldwide

The 200-day average is so well known that financial media report on it when a major index breaks through it. Precisely because so many people watch it, prices often react there.

Use 1: trend filter

The simplest and most useful application:

  • Price above the rising average → only look for long trades.
  • Price below the falling average → no long trades, rather wait or go short.
  • The average runs flat and the price crosses it all the time → sideways phase, pause trend strategies.
Price and two averages
SMA 5SMA 10
As long as the price runs above both rising averages, the trend is intact. In the pullback it drops below them, then it wins them back.
Kurz prüfen

The price is above the rising 200-day line. Which trades does a trend filter favor?

Use 2: dynamic support

In a strong trend, pullbacks often run back to a certain average, such as the 20-day EMA, and turn there again. Swing traders use this as an entry zone. You can find the setup in detail in the strategy library.

Use 3: crossovers

When a short average crosses a long one, it counts as a signal:

  • Golden cross: the 50-day average crosses above the 200-day average.
  • Death cross: the 50-day average crosses below the 200-day average.

Sounds dramatic, but it often comes late. By the time the short average crosses the long one, a large part of the move has usually already happened. In sideways phases, crossovers also produce many false signals. Crossovers work better as a description of the current state than as a direct entry or exit.

The limits

  1. Averages always lag. They are calculated from past prices. They show what was, not what is coming.
  2. Useless in sideways phases. The price crosses them constantly in both directions.
  3. There is no “perfect” length. If you search, you will find a length that would have fit any past period perfectly. Stick with the common values that many others use too.
Kurz prüfen

In which market phase do moving averages give the most false signals?

Key takeaways

  • SMA: average of the last n closing prices. EMA: gives more weight to recent prices.
  • Common lengths: 9/10, 20/21, 50, 200.
  • Best use: as a trend filter and as a dynamic zone in trends.
  • Crossovers come late and mislead in sideways phases.
  • Averages follow the price. They predict nothing.
Wissenscheck0 / 4
  1. 01Closing prices of the last 4 days: 20, 22, 21, 25. What is the SMA 4?

  2. 02What makes the EMA different from the SMA?

  3. 03The price is below the falling 50-day average. What makes sense as a filter?

  4. 04Why are moving average crossovers problematic as entry signals?

All clear?

Mark the lesson as done so it counts toward your progress and streak.

War diese Lektion verständlich?

Something unclear? Ask a question about this lesson

Common questions are added to the lesson without your name. We only use your email for the answer and delete it afterward.