Moving averages are among the oldest tools in technical analysis. They are also one of the best-studied — and the research carries an important warning.
WHAT THE RESEARCH SAYS
William Brock, Josef Lakonishok and Blake LeBaron (1992) tested simple moving-average and range-breakout rules on about 90 years of Dow Jones data and found that they beat simply holding cash. The authors themselves warned that with so many possible rules, some will work by chance.
Ryan Sullivan, Allan Timmermann and Halbert White (1999) took that warning seriously. They tested a much larger universe of rules and corrected for data snooping — the fact that many rules were tried. The best rules looked good in the original period, but the evidence was weaker in the later, out-of-sample years.
WHAT THIS MEANS
Moving averages are useful for describing trend and as a filter (Article 6). Treat any specific "magic" setting with suspicion: there is nothing special about 21 or 50 — they're conventions. What matters is choosing a simple setting and testing it honestly (Strategy, Article 16).
IN PRACTICE
1. Use one or two moving averages as trend filters, not as stand-alone buy and sell signals.
2. Check that your rule still works with nearby settings (for example 20 and 25 instead of only 21).
3. Judge any moving-average rule on data it wasn't designed on.
In one sentence: moving averages describe the trend well — just don't ask them to predict it on their own.