Back to Blog

Moving Averages Explained: SMA, EMA, and How to Use Them

Moving averages are one of the most widely used technical indicators. They smooth out price data to help identify trends and potential support/resistance levels. Here is how they work.

What is a Moving Average?

A moving average (MA) calculates the average price over a specific number of periods. As new data comes in, the oldest data drops off, so the average "moves" with price.

Simple concept: A 20-day moving average shows the average closing price of the last 20 days. It creates a smooth line that follows price.

Types of Moving Averages

Simple Moving Average (SMA)

Calculates the straight average of prices over a period. Each price point is weighted equally.

Exponential Moving Average (EMA)

Gives more weight to recent prices. Reacts faster to price changes than SMA.

Common Moving Average Periods

How to Use Moving Averages

1. Trend Identification

2. Support and Resistance

Moving averages often act as dynamic support/resistance levels. Price frequently bounces off key MAs like the 20, 50, or 200.

3. Crossovers

When a shorter MA crosses a longer MA:

Golden Cross Example

The 50-day MA crosses above the 200-day MA.

This signals that the medium-term trend has turned bullish relative to the long-term trend.

Traders often see this as a buy signal, though it can lag.

Moving Average Strategies

MA Pullback Strategy

MA Crossover Strategy

Limitations of Moving Averages

Track Your MA-Based Trades

Pro Trader Dashboard helps you analyze which moving average strategies work best for you.

Try Free Demo

Summary

Moving averages smooth price data to show trends. SMAs weight all prices equally, EMAs emphasize recent prices. Use them to identify trends, find support/resistance, and generate signals with crossovers. Remember they lag price action and work best in trending markets.

Learn more: support and resistance and MACD indicator.