Moving Averages Explained
Moving averages smooth price to show the trend. Learn SMA vs EMA, popular settings like the 20, 50 and 200 day, crossovers, dynamic support and common mistakes.
A moving average is the average price over a set number of recent periods, recalculated as each new candle forms. Plotted on a chart, it creates a smooth line that filters out day to day noise and shows the direction of the trend. Moving averages are the most widely used indicators in trading, and many other indicators, including MACD and Bollinger Bands, are built on them.
How a moving average works#
A 10 day simple moving average adds the last 10 closing prices and divides by 10. Tomorrow, the oldest price drops out and the newest is added, so the average "moves".
The main types#
| Type | How it weights prices | Character |
|---|---|---|
| Simple Moving Average (SMA) (SMA) | All prices equally | Smooth, slower to react |
| Exponential Moving Average (EMA) (EMA) | Recent prices more, decaying exponentially | Faster to react |
| Weighted Moving Average (WMA) (WMA) | Recent prices more, linearly | Faster than SMA |
| Volume-Weighted Moving Average (VWMA) (volume weighted) | Prices weighted by volume | Emphasises high volume periods |
All moving averages lag price, because they are built from past data. Faster averages lag less but produce more false signals; slower ones lag more but are steadier.
Popular settings#
| Setting | Common use |
|---|---|
| 9, 10, 20 period | Short term trend, pullback entries for active traders |
| 50 period | Intermediate trend; widely watched on daily charts |
| 100 period | Longer intermediate trend |
| 200 period | Long term trend; the classic line between bull and bear markets on daily charts |
The 50 and 200 day averages are followed by so many traders and investors that price often reacts near them, partly because everyone is watching.
How traders use moving averages#
Trend direction#
Price above a rising average suggests an uptrend; below a falling average suggests a downtrend. The slope matters more than the exact crossing.
Dynamic support and resistance#
In trends, pullbacks often stop near a moving average, such as the 20 or 50 period. See Static vs Dynamic Levels.
Crossovers#
When a faster average crosses above a slower one, it signals upward momentum; crossing below signals downward momentum. The 50 day crossing above the 200 day is called a golden cross; crossing below is a death cross. Crossovers lag, so they work best in strong trends and generate many false signals in ranges.
Filters#
Many strategies only take long trades when price is above the 200 day average and short trades below it.
Moving averages on the TradeLabs AI chart#
You can add moving averages to the TradeLabs AI chart and watch how pullbacks in a trending market react around them, which is a quick way to build intuition for dynamic support.
Common mistakes#
- Using crossovers in sideways markets, where they whipsaw.
- Piling on many averages until some line is always "support".
- Expecting exact reactions: price often overshoots a moving average slightly.
- Optimising settings to the past, finding the perfect length that never works again. See Overfitting and Curve Fitting.
Some indicators build whole systems from averages of highs and lows, such as the Ichimoku Cloud, which shows trend, momentum and support in one view.
Frequently asked questions#
What is the best moving average for trading?#
There is no single best. The 20 period suits short term trends, the 50 the intermediate trend and the 200 the long term trend. Pick ones that suit your timeframe and stick with them.
What is the difference between SMA and EMA?#
The SMA weights all prices equally; the EMA gives more weight to recent prices, so it reacts faster.
What is a golden cross?#
When the 50 day moving average crosses above the 200 day moving average, often seen as a long term bullish signal.
Next, learn the simplest average in detail: the Simple Moving Average (SMA).
3 quick questions on this lesson. Get them all right to finish it.
Turn on JavaScript to take the quiz.
Where this leads
- RSI (Relative Strength Index)Indicators
Mentioned in
- Weighted Moving Average (WMA)Indicators
- Volume-Weighted Moving Average (VWMA)Indicators
- ADX (Average Directional Index)Indicators
- Ichimoku CloudIndicators
- Beginner Learning PathStart Here
- Price Gaps and How to Trade ThemChart Patterns