forex moving average crossover strategy

Affiliate Disclosure: This page contains affiliate links. If you click a link and make a purchase or open an account, I may earn a commission at no extra cost to you. This does not influence the educational information in this article. Always research a broker independently before depositing money.

Updated November 2026

EXPERIENCED TRADER
Brian Rosemorgan, retired professional forex trader

Brian Rosemorgan

Retired Professional Trader | 9+ Years Experience | South Africa

LEARN ABOUT MY JOURNEY →

Questions?

WhatsApp me directly →

Forex Moving Average Crossover Strategy: How to Use It, Confirm Signals and Manage Risk

A forex moving average crossover strategy uses two moving averages to help identify possible changes in market direction and momentum. It is one of the more straightforward technical analysis methods to learn because the trader watches for one moving average to cross another.

However, recognising a crossover is only the beginning. A crossover can appear during a genuine trend change, but it can also occur during a temporary price movement or a sideways market. Entering every signal without considering the wider market can lead to repeated losses.

To use this strategy responsibly, a trader needs to understand the difference between a Simple Moving Average (SMA) and an Exponential Moving Average (EMA), how bullish and bearish crossovers work, how to identify ranging conditions, and how to plan an entry, stop-loss and position size.

This guide explains the strategy step by step, including commonly used moving-average combinations, practical examples, common mistakes and a demo-testing process suitable for beginners.

Quick answer: A moving average crossover occurs when a faster moving average crosses a slower one. A cross above may indicate strengthening upward momentum, while a cross below may indicate weakening momentum. Neither signal guarantees a trend change. Traders should check the market structure, wait for the candle to close, define the stop-loss and calculate position size before considering a trade.

1. What Is a Moving Average Crossover in Forex?

A moving average is an indicator that calculates the average price over a selected number of candles. It smooths some of the smaller price movements, making it easier to observe the general direction of the market.

A moving average crossover happens when one moving average crosses another. Most crossover strategies use:

  • A faster moving average: Uses fewer periods and reacts more quickly to recent price changes.
  • A slower moving average: Uses more periods and reacts more gradually, providing a broader view of price direction.

For example, a trader might use a 20-period EMA and a 50-period EMA. If the 20 EMA moves above the 50 EMA, this is generally interpreted as a bullish crossover. If it moves below the 50 EMA, it is generally interpreted as a bearish crossover.

One important detail: the period refers to the number of candles on the chart, not automatically the number of days. A 20-period moving average on a one-hour chart uses 20 hourly candles. On a daily chart, it uses 20 daily candles.

The crossover is calculated from historical prices. It is therefore a lagging indicator: it can help show that momentum may be changing, but it cannot identify the exact turning point in advance.

2. Simple Moving Average (SMA) vs Exponential Moving Average (EMA)

Two common types of moving averages are the Simple Moving Average and the Exponential Moving Average. Both smooth price data, but they give different weight to the prices used in their calculations.

Simple Moving Average (SMA)

A Simple Moving Average gives equal weight to every closing price within the selected period. A 20-period SMA, for example, adds the relevant 20 closing prices and divides the total by 20.

As each new candle closes, the newest price enters the calculation and the oldest price drops out. This produces a line that generally changes more gradually than an EMA.

Traders sometimes use SMAs when they want a smoother view of the market or when they are studying longer-term direction.

Exponential Moving Average (EMA)

An Exponential Moving Average gives more weight to recent prices. It therefore tends to respond more quickly when the market moves.

This quicker response can help a trader identify changing momentum earlier than a comparable SMA. However, it can also make the EMA more sensitive to short-term fluctuations, which may create additional signals that do not develop into sustained trends.

Which one should a beginner use?

Neither type is automatically better. An EMA may suit a system that is designed to respond more quickly to recent price movement, while an SMA may suit a system that uses a smoother average. The right choice depends on the trading rules and the results of testing.

Feature SMA EMA
Price weighting Equal weighting for included prices More weight given to recent prices
Response Generally more gradual Generally quicker
Potential advantage A smoother view of price movement More responsive to recent movement
Potential limitation May react more slowly May react to more short-term market noise

3. How Bullish and Bearish Crossovers Work

Bullish crossover: possible upward momentum

A bullish crossover occurs when the faster moving average crosses above the slower moving average. Traders may interpret this as a sign that recent buying momentum is becoming stronger relative to the longer-period average.

For example, imagine that the 20 EMA has been below the 50 EMA. Price then begins to rise, and the 20 EMA eventually crosses above the 50 EMA. The crossover suggests that the average of recent prices has strengthened compared with the slower average.

Before considering a buy trade, a trader should still check whether the market is making higher highs and higher lows, whether there is room before a nearby resistance level, and whether the candle has closed with the crossover still in place.

Bearish crossover: possible downward momentum

A bearish crossover occurs when the faster moving average crosses below the slower moving average. Traders may interpret this as a sign that recent selling pressure is becoming stronger relative to the longer-period average.

For example, if the 20 EMA moves below the 50 EMA, the crossover may indicate weakening upward momentum or increasing downward momentum. A trader considering a sell setup would still need to examine support levels, the wider trend and the quality of the price movement.

A bearish crossover does not guarantee that price will continue falling. A temporary decline can create a bearish signal before buyers return to the market.

4. Common Moving Average Combinations Used by Forex Traders

Traders use different moving average periods depending on their trading timeframe and strategy. The following combinations are examples commonly used for analysis. They are not proven universal settings, and none should be assumed profitable without testing.

9 EMA and 21 EMA

This is a relatively fast combination. The 9 EMA reacts quickly to price changes, while the 21 EMA provides a slightly slower comparison. It may produce more frequent crossover signals than combinations using longer periods.

The trade-off is that faster averages can cross repeatedly during choppy market conditions. This combination therefore needs clear rules for identifying market direction and avoiding poor-quality signals.

20 EMA and 50 EMA

The 20 EMA and 50 EMA combination is often used to study short- to medium-term momentum. A cross above may indicate strengthening upward momentum, while a cross below may indicate weakening momentum.

Some traders also use the slope and spacing of the averages to assess whether a trend is becoming more established. These observations should form part of a tested plan rather than being treated as standalone entry signals.

50 SMA and 200 SMA

The 50 SMA and 200 SMA combination is commonly used to observe broader market direction. Because both averages use relatively long periods, crossovers tend to occur less frequently than with shorter combinations.

This combination is often associated with the golden cross and death cross, which are explained in the next section.

How should you choose?

Start with one combination that you can understand and test. Do not keep changing periods every time a trade loses. Changing the settings repeatedly makes it difficult to measure whether the original rules have any value.

Beginner reminder: A moving average period is a calculation setting, not a promise about how long a trade will last. A 20-period EMA on a 15-minute chart is very different from a 20-period EMA on a daily chart.

5. What Are the Golden Cross and Death Cross?

The golden cross and death cross are two well-known moving average crossover patterns, generally associated with longer-term trend analysis.

Golden cross

A golden cross occurs when a shorter-period moving average crosses above a longer-period moving average. A commonly watched example is the 50-period SMA crossing above the 200-period SMA.

Some traders view this as a possible indication that longer-term momentum is turning more positive. However, the signal is based on historical prices and may appear after a substantial part of an upward move has already happened.

Death cross

A death cross occurs when a shorter-period moving average crosses below a longer-period moving average. The 50-period SMA crossing below the 200-period SMA is a commonly discussed example.

Traders may interpret it as a warning that longer-term momentum has weakened. It does not, however, guarantee a market crash or a continuing downward trend.

Both patterns are best understood as broad trend signals rather than precise entry instructions. They can be useful for studying market direction, but traders still need a separate plan for entries, exits and risk.

6. Choosing a Timeframe for a Moving Average Crossover Strategy

The timeframe you choose changes how quickly the moving averages respond to the market. A 20-period moving average always uses 20 candles, but those candles represent different lengths of time on different charts.

  • 5-minute and 15-minute charts: Produce more frequent price changes and potential crossover signals. They can require faster decisions and may contain considerable short-term noise.
  • 1-hour and 4-hour charts: Show broader price movements than very short-term charts. Some traders prefer them because they allow more time to assess a setup.
  • Daily charts: Use each daily candle in the calculation and are often used to study broader market direction. Signals may take longer to develop.

There is no universally best timeframe. Your choice should reflect how much time you can spend analysing the market, your trading approach and the strategy you have tested.

Using a higher timeframe for context

A trader may use a higher timeframe to understand the broader direction and a lower timeframe to study a possible entry. For example, the daily chart may show a broad upward trend while the four-hour chart provides a closer view of a pullback.

This approach can help prevent a trader from interpreting every short-term crossover as a major trend reversal. However, multiple timeframes do not remove uncertainty. They are simply different views of the same market.

7. A Step-by-Step Moving Average Crossover Trading Plan

The following is an educational framework for testing a crossover strategy. It is not a recommendation to enter a live trade whenever these conditions appear. You should define and test the rules before risking money.

Step 1: Select a currency pair

Choose a currency pair with trading conditions you understand. Consider its typical spread, volatility and the times when it is most active. Avoid choosing a pair simply because it has recently made a large move.

Step 2: Select your timeframe

Choose a chart timeframe that suits your availability and trading plan. Record the timeframe in your rules and avoid switching charts just to find a signal that looks more attractive.

Step 3: Add two moving averages

For a practice example, you could add a 20-period EMA and a 50-period EMA. Make sure both indicators use the same price source and are displayed on the same chart timeframe.

Step 4: Wait for a completed crossover

Do not anticipate a crossover while the candle is still forming. Wait for the candle to close and then check whether the faster average remains above or below the slower average.

Step 5: Check the market structure

Look at recent swing highs and lows. A possible bullish setup may have better context when price is forming higher highs and higher lows. A possible bearish setup may have better context when price is forming lower highs and lower lows.

Step 6: Check nearby support and resistance

Identify important price levels before considering an entry. A potential buy signal directly below a major resistance area may have limited room to develop. A potential sell signal just above strong support may face a similar problem.

Step 7: Define the entry condition

Your trading plan should specify exactly what must happen before you enter. For example, it may require a completed crossover and a further price-action confirmation. Avoid changing the entry rule from trade to trade based on emotion.

Step 8: Decide where the trade idea is invalidated

Identify the price level at which the original trading idea would no longer make sense. Depending on the setup, this might be beyond a recent swing high or swing low, or beyond another relevant technical level.

Step 9: Calculate your position size

Calculate the amount you are prepared to lose if the stop-loss is reached. Then determine a position size that matches that risk amount and the stop distance. Do this before opening the trade.

Step 10: Record and review the trade

Record the currency pair, timeframe, moving average settings, market conditions, entry, stop-loss, position size and outcome. Reviewing a series of trades is more useful than deciding whether the strategy works after only one or two examples.

8. Why Moving Average Crossovers Produce False Signals

One of the biggest limitations of a crossover strategy is that moving averages respond to price after it has moved. They are not designed to predict every change in direction.

Sideways or ranging markets

When price moves within a relatively narrow range, the faster and slower moving averages can repeatedly cross each other. The market may not have enough directional momentum to support a sustained trend.

This can create a series of buy and sell signals, sometimes called whipsaws. A trader who enters every crossover may experience repeated losses, even though the indicator is working exactly as it is designed to work.

Temporary price spikes

A sudden price movement can affect the faster moving average and cause a crossover. If the move quickly reverses, the signal may not lead to a sustained trend.

News announcements, unexpected economic data and changes in market sentiment can all cause sharp movements. Traders should understand the event risk around the currency pairs they follow.

Late signals

Because moving averages use historical prices, the crossover may occur after price has already travelled a considerable distance. Entering late can leave less room before the next support or resistance area.

How can a trader reduce unnecessary signals?

No filter can eliminate false signals, but a written plan can help a trader avoid reacting to every crossover. Possible checks include:

  • Identify whether the market is trending or ranging.
  • Wait for the candle to close before treating the crossover as confirmed.
  • Check the direction and structure of the broader market.
  • Identify nearby support and resistance levels.
  • Avoid entering when the potential reward does not justify the planned risk.
  • Test any additional confirmation rule before relying on it.

Adding more indicators is not automatically the answer. A small number of clearly defined rules is often easier to understand and evaluate than a chart filled with indicators that may give conflicting signals.

9. Stop-Losses, Position Sizing and Risk Management

Risk management is essential because a moving average crossover cannot prevent losing trades. Even a strategy that produces positive results over a large historical sample can experience losing streaks and periods of poor performance.

Plan the stop-loss before entering

A stop-loss is an instruction to close a trade if price reaches a specified level. In a crossover strategy, a trader might use a recent swing high or low, or another technical level that would invalidate the original trade idea.

The stop should not be placed at an arbitrary distance simply to make the position size larger. It should reflect the setup and the amount of price movement that the trade can reasonably tolerate.

Understand how much you are risking

For example, imagine a hypothetical trading account with a balance of R10,000. If the trader chooses a risk limit of 1% for a particular trade, the planned monetary risk would be R100.

This does not mean that 1% is suitable for every person or account. It is simply an example showing how a percentage-based risk limit can be converted into a rand amount.

The trader would then calculate the position size so that a move from the planned entry to the stop-loss represents approximately R100 of risk, taking account of the currency pair, pip value, account currency, spread and any relevant trading costs.

Why position size matters

Two traders can take the same crossover signal but experience very different financial results because they use different position sizes. A stop-loss alone does not determine the amount at risk; the size of the position matters too.

South African beginners should also understand how their broker displays account balances, contract sizes and pip values. If the account is denominated in rand but the currency pair’s profit or loss is calculated in another currency, the conversion can affect the final rand amount.

Include trading costs

Spreads, commissions, swaps and slippage can affect the result of a strategy. A crossover system that looks acceptable before costs may perform differently when realistic trading costs are included.

Do not increase your risk to recover a previous loss. A losing trade is part of trading; increasing position size emotionally can make a difficult period much worse.

10. A Practical Example: Evaluating a 20 EMA and 50 EMA Crossover

Consider a hypothetical example using the 20 EMA and 50 EMA on a four-hour chart. The purpose is to demonstrate a decision-making process, not to suggest that this combination will produce a profitable result.

  1. Market observation: The trader notices that price has been moving upward and is beginning to form higher swing lows.
  2. Crossover: The 20 EMA crosses above the 50 EMA. The trader waits for the four-hour candle to close.
  3. Context: The trader checks whether price is approaching a significant resistance area and whether the wider market structure supports the idea.
  4. Trade plan: If the setup meets the trader’s written conditions, the trader identifies a possible entry and the level that would invalidate the idea.
  5. Risk calculation: The trader calculates the position size based on the stop distance and the predetermined amount of money at risk.
  6. Review: The trade is recorded, including whether the rules were followed and how the market behaved afterwards.

Now consider the opposite situation. The same bullish crossover appears while price is moving sideways between clear support and resistance. The averages are almost flat and have crossed several times recently. A disciplined trader may decide that the conditions do not meet the strategy’s requirements.

The difference is important: the aim is not to trade more often. It is to follow a consistent process and avoid taking signals that do not meet the plan.

11. How to Backtest and Practise a Moving Average Crossover Strategy

Before using a crossover strategy with real money, test it. A chart can make a strategy look simple when viewed after the event, but trading decisions must be made without knowing what the next candle will do.

Backtest using historical charts

Backtesting means applying your written rules to historical price data. Work through the chart one candle at a time and record each setup that meets your conditions. Avoid looking ahead at future candles before deciding whether a signal would have qualified.

Record at least the following information:

  • Currency pair and timeframe.
  • Moving average type and periods.
  • Whether the market was trending or ranging.
  • The reason the setup qualified.
  • Entry price and stop-loss level.
  • Position size and planned monetary risk.
  • Exit price and result after costs where possible.
  • Whether the trading rules were followed.

Use a demo account for forward testing

After reviewing historical examples, practise the same rules on a demo account using live market prices. This helps you experience signals as they happen rather than only seeing them after the market has moved.

Keep the settings and rules consistent. If you change the moving average periods, entry conditions or stop-loss method, record the change and treat it as a different version of the strategy.

Review more than the win rate

A strategy’s win rate alone does not tell you whether it is profitable. You also need to consider the average size of winning and losing trades, trading costs, drawdowns and whether the results are consistent across different market conditions.

For example, a strategy can win more often than it loses but still lose money if its average losing trade is much larger than its average winning trade. Conversely, a lower win rate does not automatically mean that a strategy is unprofitable if its winners are sufficiently larger than its losses.

There is no magic number of trades that proves a strategy will work in the future. A larger and more varied sample can provide more useful information, but historical and demo results cannot guarantee future performance.

12. Common Moving Average Crossover Mistakes

1. Entering before the candle closes

A crossover can appear while a candle is still forming and disappear before the candle closes. Waiting for the close creates a more consistent rule and reduces the chance of reacting to a temporary movement.

2. Treating every crossover as a trade signal

A crossover is information about the relationship between two averages, not an automatic instruction to buy or sell. Market structure and the trading plan still matter.

3. Ignoring sideways conditions

Repeated crossovers in a ranging market can produce whipsaws. Beginners should learn to recognise when the market lacks a clear direction.

4. Changing settings after every loss

Changing the periods after individual losing trades makes it difficult to evaluate the original strategy. Test a consistent set of rules before deciding whether changes are justified.

5. Using too many indicators

Adding multiple indicators can create confusion and conflicting signals. Every additional rule should have a clear purpose and should be tested rather than added because it looks reassuring.

6. Ignoring the stop-loss and position size

A strategy can identify reasonable market opportunities and still damage an account if the trader risks too much. Position sizing and capital preservation are essential parts of the trading plan.

7. Judging the strategy too quickly

A few winning trades do not prove that a strategy works, and a few losing trades do not prove that it has failed. Review a meaningful sample and include different market conditions.

13. Is a Moving Average Crossover Strategy Suitable for Beginners?

The basic concept is suitable for beginners to study because it is relatively easy to understand and can be applied using standard charting tools. A trader can see the faster and slower averages and identify when they cross.

However, the simplicity of the indicator should not be confused with simplicity of trading. A beginner still needs to understand price movement, trends, support and resistance, trading costs, leverage, stop-losses and position sizing.

The safest way to learn is to practise on a demo account, write down the rules and keep a trading journal. Do not move to live trading simply because a few demo trades were successful. First establish whether you understand the risks and can follow the plan consistently.

Brian’s Trading Perspective

One lesson I learned during my years of trading is that adding more indicators does not automatically make a trading system better. A chart can become complicated without improving the quality of the decisions being made.

A moving average crossover is useful as a learning tool because its basic rules are visible and relatively easy to define. But I would never recommend treating a crossover as a reason to enter a live trade on its own.

First check the market direction, understand where the important price levels are, wait for the candle to close and calculate the risk. Then test the same rules repeatedly on a demo account and record the results.

Do not judge a strategy by its best trade or its worst trade. Look at the overall evidence, including losing periods, trading costs and how well you followed your own rules.

Moving Average Crossover Strategy: Key Points to Remember

Topic Main lesson
Crossover A faster average crossing a slower average may indicate a change in momentum.
SMA Gives equal weight to the prices in its calculation.
EMA Gives greater weight to more recent prices.
False signals Are more likely to be a problem when the market is moving sideways.
Confirmation Check the candle close, market structure and nearby price levels.
Risk management Plan the stop-loss and position size before entering.
Testing Review historical examples and practise consistently on demo.

Frequently Asked Questions

1. What is the best moving average crossover strategy for forex?

There is no single best moving average crossover strategy for every trader or market. Common combinations include the 9 EMA and 21 EMA, the 20 EMA and 50 EMA, and the 50 SMA and 200 SMA. Each combination responds differently to price movement. The appropriate choice depends on the timeframe, trading rules and results of consistent testing.

2. Is the 20 EMA and 50 EMA crossover good for forex trading?

The 20 EMA and 50 EMA combination is commonly used to study changes in short- to medium-term momentum. A cross above may indicate strengthening upward momentum, while a cross below may indicate weakening momentum. It can also produce false signals, particularly in ranging markets. It should be tested as part of a complete trading plan rather than treated as a guaranteed entry signal.

3. Is EMA better than SMA for forex?

Neither is automatically better. An EMA gives more weight to recent prices and generally reacts faster, while an SMA gives equal weight to the prices in its calculation and generally responds more gradually. The choice depends on the strategy being tested and how the trader wants the moving average to respond to price changes.

4. What is a bullish moving average crossover?

A bullish crossover occurs when a shorter-period moving average crosses above a longer-period moving average. Traders may interpret this as a sign of strengthening upward momentum. It is not proof that a new uptrend has started, so the wider market structure and other trading rules should also be considered.

5. What is a bearish moving average crossover?

A bearish crossover occurs when a shorter-period moving average crosses below a longer-period moving average. It may indicate weakening upward momentum or increasing selling pressure. However, it can also occur during a temporary decline or a sideways market, so it does not guarantee that price will continue falling.

6. What are the golden cross and death cross?

A golden cross occurs when a shorter-period moving average crosses above a longer-period moving average. A commonly watched example is the 50-period SMA crossing above the 200-period SMA. A death cross is the opposite: the shorter-period average crosses below the longer-period average. Both are generally used to study broader market direction, not as guaranteed entry signals.

7. Do moving average crossovers work in sideways markets?

They can be difficult to use in sideways markets because price may repeatedly cross the averages without developing a sustained trend. This can create whipsaw signals and repeated losses. Recognising ranging conditions is therefore an important part of using a crossover strategy.

8. What timeframe is best for a moving average crossover strategy?

There is no universally best timeframe. Shorter charts produce more frequent signals but can contain more short-term noise. Longer charts produce fewer signals and show broader price movements. Choose a timeframe that suits your trading approach and test it consistently.

9. Can beginners use a moving average crossover strategy?

Yes, beginners can learn the basic concept because it is relatively straightforward. However, they still need to understand false signals, market structure, stop-losses, position sizing and trading costs. Practising on a demo account before risking real money is a sensible starting point.

10. Can a moving average crossover guarantee profitable trades?

No. A moving average crossover cannot guarantee profitable trades. It is a technical analysis tool based on historical prices. False signals and losing trades are part of trading, which is why a tested plan and appropriate risk management are essential.

11. Should I enter a trade as soon as the moving averages cross?

Not automatically. A trader may choose to wait for the candle to close and then check the broader trend, market structure and nearby support or resistance. The entry conditions should be defined in advance and tested. A crossover by itself is not enough to establish that a trade is suitable.

12. How many moving averages should I use?

Many basic crossover systems use two moving averages: one faster and one slower. Some traders add a third average to study broader direction, but more indicators do not automatically improve a strategy. Start with a simple, clearly defined system and only add complexity when testing shows a useful reason to do so.

Practise Your Strategy on a Demo Account

If you are learning a moving average crossover strategy, start with a demo account rather than rushing into live trading. A demo account allows you to practise applying your rules, compare chart timeframes and become familiar with a trading platform without immediately risking real money.

When comparing brokers, look beyond advertised spreads. Consider regulation, commissions, execution, platform availability, withdrawal conditions, account requirements and customer support. Trading conditions can differ between brokers and may change over time.

The brokers below offer demo-account options. Their inclusion is not a guarantee of suitability or an endorsement of their current trading conditions. Research each provider independently and verify its regulatory status before opening an account.

This section contains affiliate links. I may receive a commission if you open an account through one of them, at no extra cost to you.

XM

✔ Demo account available
✔ MT4 and MT5
✔ Multiple account options
✔ Educational resources

An option to investigate if you want to practise your crossover strategy on demo while comparing its platform, costs and account conditions with other providers.

Open Free Demo →

AvaTrade

✔ Demo account available
✔ MT4 and MT5
✔ AvaTradeGO platform
✔ Educational resources

Another option to investigate if you want to compare platforms, trading conditions and educational resources while practising on demo.

Open Free Demo →

Important: Spreads, commissions, leverage and other trading conditions can change. Always check the broker’s current terms, costs, regulation and withdrawal requirements before opening an account. A demo account does not remove the risks of live trading.

Forex Trading for Beginners

Forex Trading for Beginners book by Brian Rosemorgan

If you have enjoyed this free Academy, my book brings the foundations together in one structured, beginner-friendly guide. It can be used as a companion to the lessons you complete here on TryBuying.

GET YOUR COPY →

Risk Disclaimer: Forex and CFD trading involve significant risk and may not be suitable for every investor. You can lose some or all of your invested capital. The information on this page is for educational purposes only and is not financial, investment or trading advice. Always research your broker, understand leverage and practise on a demo account before considering live trading. Never risk money you cannot afford to lose. Past performance does not guarantee future results. Read our full Risk Disclosure.

Lesson Complete

Congratulations! You have completed Module 5: Lesson 3.

Click below to record your progress and return to the Academy.

Your progress will be saved automatically. Return to the Academy and continue with your next lesson whenever you’re ready.