Moving averages are among the most widely used tools in technical analysis. Traders use them to identify trends, understand market direction, analyze momentum, and find potential areas of support and resistance.
- What Is a Moving Average?
- Why Do Traders Use Moving Averages?
- Types of Moving Averages
- Example of a 20-Period SMA
- SMA vs EMA
- 10-Period Moving Average
- 20-Period Moving Average
- 50-Period Moving Average
- 100-Period Moving Average
- 200-Period Moving Average
- Moving Averages in an Uptrend
- Moving Averages in a Downtrend
- Moving Averages in a Sideways Market
- Bullish Moving Average Crossover
- Bearish Moving Average Crossover
- Using Too Many Moving Averages
- Treating Every Crossover as a Signal
- Ignoring Market Structure
- Using the Same Settings for Every Market
- Entering After a Large Price Move
- Ignoring Risk Management
- Step 1: Identify the Trend
- Step 2: Add a Moving Average
- Step 3: Look at Price Position
- Step 4: Wait for a Pullback
- Step 5: Look for Price Confirmation
- Step 6: Define Your Risk
- Step 7: Review the Trade
- Scalping
- Day Trading
- H3: Swing Trading
- Long-Term Investing
- What is a moving average in trading?
- What is the difference between SMA and EMA?
- Which moving average is best for beginners?
- What is a Golden Cross?
- What is a Death Cross?
- Can moving averages predict the market?
- Can moving averages be used for crypto?
- Can moving averages be used in forex?
- Should I use SMA or EMA?
Unlike some indicators that focus on short-term momentum, moving averages help smooth out price fluctuations and make the overall direction of a market easier to see.
Moving averages can be used in almost every major financial market, including stocks, forex, commodities, indices, and cryptocurrency.
For beginners, moving averages are relatively easy to understand. However, there are different types, settings, and trading strategies that can make them more useful in different market conditions.
In this guide, we’ll explain what moving averages are, how they work, the difference between SMA and EMA, popular moving average periods, moving average crossovers, and how beginners can use them as part of a broader trading strategy.
What Is a Moving Average?
A moving average is a technical indicator that calculates the average price of an asset over a specific number of periods.
As new price data becomes available, the calculation changes. Older data is gradually removed from the calculation while newer data is added.
This creates a line on the chart that moves along with the price.
For example, a 20-period moving average calculates the average price over the most recent 20 periods.
Depending on the chart’s time frame, those 20 periods could represent:
- 20 minutes
- 20 hours
- 20 days
- 20 weeks
The time frame therefore has an important effect on how a moving average is interpreted.
Why Do Traders Use Moving Averages?
Moving averages can help traders simplify price charts and identify the broader direction of the market.
They are commonly used to:
- Identify trends
- Smooth price fluctuations
- Analyze momentum
- Identify potential support
- Identify potential resistance
- Find crossover signals
- Confirm market direction
- Develop trading strategies
Moving averages are particularly useful because they can be applied to both short-term and long-term trading.
However, they are not designed to predict the future with certainty.
Types of Moving Averages
There are several types of moving averages, but two of the most commonly used are:
- Simple Moving Average
- Exponential Moving Average
Understanding the difference between these two is important for beginners.
What Is a Simple Moving Average?
A Simple Moving Average, commonly called SMA, calculates the average price over a specific number of periods.
Each period receives equal weight in the calculation.
For example, a 10-period SMA gives equal importance to each of the previous 10 closing prices.
A 50-period SMA calculates the average of the previous 50 periods.
The SMA is relatively simple and can be useful for identifying broader trends.
Example of a 20-Period SMA
Imagine the closing prices for five periods are:
$100, $102, $104, $106, and $108.
The average would be:
($100 + $102 + $104 + $106 + $108) ÷ 5 = $104
The moving average would then update when a new price becomes available.
This calculation continues throughout the chart.
What Is an Exponential Moving Average?
An Exponential Moving Average, commonly called EMA, gives greater weight to recent price data.
Because recent prices have more influence, an EMA generally reacts faster to changes in price than an SMA with the same period.
This makes EMAs popular among short-term and momentum traders.
For example, a 20-period EMA will generally respond more quickly to recent price movements than a 20-period SMA.
SMA vs EMA
The main difference is how they treat price data.
SMA: Gives equal weight to the selected periods.
EMA: Gives greater weight to more recent prices.
Neither is automatically better.
The choice depends on the trader’s strategy, time frame, and personal preference.
Popular Moving Average Periods
Some moving average periods are widely followed by traders.
Common examples include:
- 9-period
- 10-period
- 20-period
- 50-period
- 100-period
- 200-period
Each period can provide different information.
10-Period Moving Average
A 10-period moving average is relatively short-term.
It can be useful for traders interested in short-term price movements and momentum.
20-Period Moving Average
The 20-period moving average is commonly used for short- to medium-term analysis.
It can help traders identify the direction of shorter-term trends.
50-Period Moving Average
The 50-period moving average is widely used to analyze medium-term market direction.
Traders may use it on daily charts to study the broader trend.
100-Period Moving Average
The 100-period moving average can provide a longer-term view of market direction.
It is less sensitive to short-term price fluctuations than shorter moving averages.
200-Period Moving Average
The 200-period moving average is one of the most widely watched long-term moving averages.
Many traders use it to evaluate the broader market trend.
When price is consistently above a rising 200-period moving average, traders may consider the broader market environment bullish.
When price is below a declining 200-period moving average, the broader environment may be considered bearish.
However, the moving average itself does not guarantee that the trend will continue.
Moving Averages and Market Trends
One of the primary uses of moving averages is identifying trends.
A market generally has three broad conditions:
- Uptrend
- Downtrend
- Sideways market
Moving averages can help traders visually identify these conditions.
Moving Averages in an Uptrend
During an uptrend, price may remain above a rising moving average.
For example:
Price above moving average + Moving average rising
can indicate a bullish market environment.
Some traders use pullbacks toward the moving average to look for potential continuation setups.
However, price can temporarily move below the moving average without completely reversing the trend.
Moving Averages in a Downtrend
During a downtrend, price may remain below a declining moving average.
For example:
Price below moving average + Moving average falling
can indicate a bearish market environment.
Traders may monitor rallies toward the moving average for potential continuation setups.
Moving Averages in a Sideways Market
Moving averages can be less useful when the market is moving sideways.
Price may repeatedly cross above and below the moving average.
This can create multiple signals without a clear trend.
For this reason, traders should determine the broader market condition before relying heavily on moving averages.
Moving Average Crossovers
A moving average crossover occurs when one moving average crosses another.
Traders often use crossovers as potential signals of changing market conditions.
There are two commonly discussed crossover types.
Bullish Moving Average Crossover
A bullish crossover occurs when a shorter-term moving average crosses above a longer-term moving average.
For example:
50-period moving average crosses above 200-period moving average
This is commonly known as a Golden Cross.
Some traders interpret this as a potential indication of strengthening long-term bullish momentum.
However, the signal is based on historical price data and may occur after a significant portion of the price movement has already happened.
Bearish Moving Average Crossover
A bearish crossover occurs when a shorter-term moving average crosses below a longer-term moving average.
For example:
50-period moving average crosses below 200-period moving average
This is commonly known as a Death Cross.
Traders may interpret it as a potential indication of weakening long-term market momentum.
Again, it does not guarantee that price will continue lower.
What Is a Golden Cross?
A Golden Cross occurs when a shorter-term moving average crosses above a longer-term moving average.
The commonly referenced combination is:
50-day moving average > 200-day moving average
The Golden Cross is generally viewed as a bullish trend signal.
However, traders should consider the broader market structure, price action, and current market conditions before making a trading decision.
What Is a Death Cross?
A Death Cross is the opposite of a Golden Cross.
It occurs when a shorter-term moving average crosses below a longer-term moving average.
The commonly referenced combination is:
50-day moving average < 200-day moving average
It is generally viewed as a bearish signal.
Like the Golden Cross, the Death Cross should not be treated as a guaranteed prediction.
Moving Averages as Dynamic Support and Resistance
Moving averages can sometimes act as dynamic areas of support or resistance.
For example, during an uptrend, price may repeatedly pull back toward a moving average before continuing higher.
Traders may therefore watch the moving average as an area of potential buying interest.
During a downtrend, price may rally toward a moving average before moving lower again.
The moving average can then act as a potential area of resistance.
However, these levels are not fixed.
Unlike horizontal support and resistance, moving averages continuously change as new price data becomes available.
Moving Averages and Price Action
Moving averages become more useful when combined with price action.
For example, suppose price is in an established uptrend and pulls back toward the 50-period moving average.
Instead of buying immediately, a trader may wait for a bullish candlestick formation or another sign that buyers are returning.
This creates a combination of:
Trend + Moving Average + Price Action
Such an approach can provide more context than relying on the moving average alone.
Moving Averages and RSI
Traders sometimes combine moving averages with the RSI indicator.
Each tool provides different information.
Moving Average: Helps identify trend direction.
RSI: Helps analyze momentum.
For example, a trader may focus on bullish opportunities when price is above a major moving average and RSI is holding above 50.
A bearish strategy might focus on situations where price is below the moving average and RSI remains below 50.
This is only one possible framework and should be tested before being used with real money.
Moving Averages and MACD
The MACD indicator itself is based on moving averages.
This means traders who understand moving averages will have an easier time understanding MACD.
MACD uses the relationship between shorter- and longer-term exponential moving averages to analyze momentum.
You can learn more about this in our MACD Indicator guide.
Using a moving average directly on a chart and using MACD can therefore provide related but different perspectives on market momentum.
Moving Averages for Forex Trading
Moving averages are widely used in forex trading.
Forex traders may use moving averages to analyze currency pairs such as:
- EUR/USD
- GBP/USD
- USD/JPY
- AUD/USD
- USD/CAD
- USD/CHF
For example, a trader may use a 50-period and 200-period moving average to study a broader trend.
Short-term traders may use shorter periods to analyze intraday movements.
The appropriate settings depend on the trader’s strategy and time frame.
Moving Averages for Cryptocurrency Trading
Moving averages are also popular in cryptocurrency trading.
Bitcoin and other digital assets can experience strong trends, making trend-following tools particularly useful.
Crypto traders may monitor:
- 20-period EMA
- 50-period EMA
- 100-period moving average
- 200-period moving average
However, cryptocurrency markets can be highly volatile.
Price can move sharply above or below a moving average within a short period.
This makes proper risk management essential.
Moving Averages for Day Trading
Day traders often use shorter moving averages to analyze intraday momentum.
Common examples include:
- 9 EMA
- 20 EMA
- 50 EMA
A trader might use a shorter EMA to identify short-term momentum while using a longer moving average to understand the broader intraday trend.
For example, a trader may look for bullish setups when price is above both the 20 EMA and 50 EMA.
However, there is no universal combination that works in every market.
Moving Averages for Swing Trading
Swing traders often use moving averages to identify medium- and long-term trends.
Daily and four-hour charts are commonly used by traders looking for multi-day or multi-week opportunities.
A swing trader may combine:
- 20-period moving average
- 50-period moving average
- 200-period moving average
The purpose is usually to understand the broader market structure and identify potential areas of interest.
Common Moving Average Trading Mistakes
Using Too Many Moving Averages
Adding five or six moving averages to a chart can create unnecessary confusion.
Start with one or two and understand what they tell you.
Treating Every Crossover as a Signal
Crossovers can fail, particularly when the market is moving sideways.
Ignoring Market Structure
A moving average does not tell the complete story.
Always consider the broader price structure.
Using the Same Settings for Every Market
A moving average strategy that works well on one market may behave differently on another.
Entering After a Large Price Move
If price has already moved significantly away from the moving average, entering late may create poor risk-reward conditions.
Ignoring Risk Management
Moving averages cannot eliminate trading risk.
A proper risk management strategy remains essential.
A Simple Moving Average Strategy for Beginners
Beginners can start with a simple trend-following framework.
Step 1: Identify the Trend
Determine whether the market is moving upward, downward, or sideways.
Step 2: Add a Moving Average
Start with a 20, 50, or 200-period moving average depending on your time frame.
Step 3: Look at Price Position
Observe whether price is above or below the moving average.
Step 4: Wait for a Pullback
Instead of chasing price, wait for the market to move toward an important area.
Step 5: Look for Price Confirmation
Study price action and candlestick patterns for additional confirmation.
Step 6: Define Your Risk
Determine your stop-loss, position size, and maximum acceptable loss before entering.
Step 7: Review the Trade
Record the outcome in a trading journal and evaluate whether the setup followed your rules.
How to Choose the Right Moving Average
There is no single moving average that works best for everyone.
Your choice depends on your trading style.
Scalping
Shorter EMAs may be used to analyze very short-term momentum.
Day Trading
Traders may use 9, 20, or 50-period moving averages.
H3: Swing Trading
20, 50, and 200-period moving averages can provide broader context.
Long-Term Investing
Long-term investors may use 100-day or 200-day moving averages to study broader market trends.
These are examples rather than universal recommendations.
Frequently Asked Questions
What is a moving average in trading?
A moving average is a technical indicator that calculates the average price of an asset over a specific number of periods and updates as new data becomes available.
What is the difference between SMA and EMA?
SMA gives equal weight to the selected price periods, while EMA gives greater weight to recent prices and generally reacts faster to price changes.
Which moving average is best for beginners?
A 20-period, 50-period, or 200-period moving average can be a useful starting point depending on the trader’s time frame and strategy.
What is a Golden Cross?
A Golden Cross occurs when a shorter-term moving average crosses above a longer-term moving average. The 50-day and 200-day moving averages are a commonly referenced combination.
What is a Death Cross?
A Death Cross occurs when a shorter-term moving average crosses below a longer-term moving average, often referring to the 50-day crossing below the 200-day moving average.
Can moving averages predict the market?
No. Moving averages are based on historical price data. They can help traders identify trends and momentum but cannot reliably predict future prices.
Can moving averages be used for crypto?
Yes. Moving averages are widely used in cryptocurrency trading, although high volatility can produce rapid moves and false signals.
Can moving averages be used in forex?
Yes. Moving averages are commonly used in forex trading for trend analysis, momentum, and potential dynamic support and resistance.
Should I use SMA or EMA?
It depends on your strategy. EMA reacts faster to recent price changes, while SMA provides a smoother average because each period receives equal weight.
Final Thoughts
Moving averages are among the most useful and versatile tools available to traders.
They can help simplify price charts, identify trends, analyze momentum, and provide potential areas of support and resistance.
The two most important types for beginners to understand are the Simple Moving Average and Exponential Moving Average.
Popular periods such as 20, 50, 100, and 200 can provide different perspectives depending on the trading time frame.
However, moving averages should not be treated as guaranteed buy or sell signals.
A crossover can fail. Price can move through a moving average unexpectedly. A trend can reverse without warning.
For better analysis, combine moving averages with price action, support and resistance, candlestick patterns, RSI, MACD, and risk management.
If you’re just starting, avoid using too many moving averages at once. Choose one or two, understand how they behave, and test your approach using historical market data.
Trading is based on probabilities rather than certainty. A good strategy is not simply about finding the perfect indicator. It is about developing a consistent process for analyzing opportunities and managing risk.