Nine, twenty, fifty, two hundred: you'll see the same few moving average lengths everywhere, and people argue about which one is best. By the end of this lesson, you'll know where the common lengths come from, and how much time each one covers. And you'll see why there's no right length, only a choice you make and check.
1 of 7
What you'll learn
- Trace common lengths. Many, like 21, 50 and 200, come from the trading calendar.
- Turn lengths into time. A 200 on a 5-minute chart covers less than one day.
- Weigh speed against smoothness. Shorter lengths turn sooner and react to more noise.
- Spot overfitting. The best-looking length on past prices may not fit the next stretch.
- Write your length down. Treat it as a choice to record and check.
Exercise
- On the 5m practice chart in Wildflower, click Indicators and add a 9, a 21 and a 50 simple moving average.
- For each, write how much time it covers.
- Then switch to 1h and write it again.
Practise this on Wildflower's free practice chart. It needs a free account.
Join waitlistQuick check
1. Roughly how many trading days are in a month?
2. On a 5-minute chart, how much time does a 50-candle average cover?
3. You try 30 lengths on last month and keep the best-looking one. What's the risk?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
Common moving average lengths like 20, 50 and 200 mostly come from the daily calendar; no length is right, because each trades speed for smoothness and covers a different stretch of time on each chart.
- Common lengths: 9 and 20 or 21 (short), 50 (medium), 100 and 200 (long, mostly on daily charts). Many come from the calendar: about 21 trading days in a month, 50 days is about 10 weeks, 200 days about 40 weeks.
- A length counts One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary. On a 5-minute chart: 9 is 45 minutes, 21 is 1 h 45, 50 is about 4 hours, 200 is 16 h 40. See Timeframes.
- Shorter lengths turn sooner and react to more noise; longer ones are smoother and later. See Why indicators lag.
- Picking the length that looked best on past prices is Tuning a strategy’s rules so closely to one stretch of past prices that they describe that stretch’s quirks more than anything that carries on.More in the glossary: it may not fit the next stretch.
- Popular lengths are watched by many people, but nobody can measure how much that matters. A length is a choice to write down and check.
Worked example
Made-up numbersLengths turned into time
5-minute chart · length × 5 minutes
- 9 × 5 = 45 minutes
- 21 × 5 = 105 minutes
- 50 × 5 = 250 minutes, about 4 hours
- 200 × 5 = 1,000 minutes, 16 h 40
A 200 on a 5-minute chart covers less than one trading day. A 200 on a daily chart covers most of a year.
Your turn
Drill15-minute chart · 20-candle moving average
Trading is risky. You can lose money. This lesson explains how trading works. It isn't advice.