How to Set Up an EMA Crossover on MT5: Settings & Signals
An EMA crossover can help you spot when a trend starts gaining strength or losing steam.
The idea is simple. Add two exponential moving averages to your MT5 chart and watch where they cross.
When the faster EMA moves above the slower one, buyers may be taking control. When it crosses below, sellers may have the upper hand.
But not every crossover leads to a good trade. Some happen after a large price move. Others appear when the market has no clear direction.
This guide explains how to set up an EMA crossover on MT5, choose the right settings, and read trading signals. You'll also see how to plan entries, stop losses, and targets using gold and forex examples.
What Is an EMA Crossover in Trading?
A bullish crossover (buy) and a bearish crossover (sell) using the 9 EMA and 21 EMA.
An EMA crossover happens when two exponential moving averages cross each other on a price chart.
An EMA tracks average prices while giving more weight to recent candles. This makes it react faster than a Simple Moving Average (SMA).
A shorter period reacts faster to price, while a longer EMA moves more slowly. The right combination depends on the type of setup you trade. Our EMA trading guide explains how the main EMA periods differ.
A crossover strategy uses two EMAs with different periods:
- Fast EMA: Tracks short-term price moves and reacts quickly.
- Slow EMA: Follows the broader trend and reacts more slowly.
For example, you can place a 9 EMA and a 21 EMA on an H1 chart.
When the 9 EMA crosses above the 21 EMA, it forms a bullish crossover. This suggests buyers have gained strength.
When the 9 EMA crosses below the 21 EMA, it forms a bearish crossover.
The crossover doesn't predict where price will go next. It confirms a shift that has already begun.
That's why experienced traders also watch price structure, support, and resistance before entering.
An EMA crossover requires two exponential moving averages with different periods on the same chart. If you haven't added one before, start with our guide to the EMA indicator on MetaTrader 5 and its basic settings.
How to Set Up an EMA Crossover on MT5
MT5 desktop with two EMAs on an H1 EUR/USD chart and the Moving Average settings window open.
You don't need to download a custom indicator to set up an EMA crossover on MT5.
MetaTrader 5 already includes the Moving Average indicator. You just need to add it twice.
Step 1: Open Your MT5 Chart
Launch MetaTrader 5 and select the instrument you want to trade.
For this example, open XAU/USD or EUR/USD.
Choose your timeframe. We'll use H1 because it provides a good starting point for studying crossovers.
Step 2: Add the Fast EMA
From the top menu, select:
Insert → Indicators → Trend → Moving Average
Enter these settings:
Click OK.
You'll now see the 9 EMA moving across your chart.
Make sure you select Exponential, not Simple, under the Method setting.
Step 3: Add the Slow EMA
Go back to the same menu and add another Moving Average.
Use these settings:
Click OK.
Your chart now shows two EMA lines.
The blue 9 EMA should react faster to price changes. The orange 21 EMA moves more slowly.
Step 4: Save Your EMA Setup
Right-click your MT5 chart and open Templates → Save Template.
Name it something like EMA-9-21-Crossover.
You can now load the same setup on another chart without adding both indicators again.
To change either EMA later, right-click the chart, open the Indicators List, and edit its settings.
Best EMA Crossover Settings for MT5
9/21, 20/50 and 50/200 EMA crossovers on the same price move. Shorter EMAs cross earlier; longer EMAs respond more slowly.
There isn't one EMA pair that works best across every market.
Shorter EMAs react faster but produce more false signals. Longer EMAs reduce some noise but confirm trends later.
Here are three common combinations:
9 and 21 EMA Crossover
The 9 and 21 EMA crossover is useful when you want to catch shorter price moves.
Both lines react fairly quickly, making them worth watching on forex and gold charts.
The downside is noise. During sideways trading, the lines can cross several times without a lasting move.
20 and 50 EMA Crossover
The 20 and 50 EMA combination responds more slowly.
It can help traders focus on established trends rather than every small price move.
This pair often makes more sense on H1 and H4 charts, where you have room for wider stops.
50 and 200 EMA Crossover
The 50 and 200 EMA combination is better suited to tracking the larger market trend.
Its signals arrive later, sometimes after price has already moved a long distance.
Use it for broader trend direction rather than relying on the crossover alone for precise entries. Slower setups may use the 200 EMA to define the broader trend before acting on a faster crossover. See how to add the 200 EMA on MT5 if you want to include it in your chart setup.
How to Read EMA Crossover Signals on MT5
A crossover gives you a starting point. Price action tells you whether the signal is worth trading.
Bullish EMA Crossover: Buy Signal
A bullish crossover forms when the fast EMA moves above the slow EMA.
Before buying, check three things:
- The crossover is confirmed by a closed candle.
- Price is forming higher highs and higher lows.
- There is enough space before the next resistance level.
A common mistake is buying the moment two EMA lines touch.
During a live candle, the crossover can appear and disappear before the candle closes.
Waiting for confirmation helps reduce these false signals.
Bearish EMA Crossover: Sell Signal
A bearish crossover forms when the fast EMA moves below the slow EMA.
Look for lower highs, lower lows, and a candle closing below both EMAs.
Also check nearby support.
If price sits directly above strong support, selling into that level leaves little room for profit.
The better setup often comes when price pulls back toward the EMAs and fails to move higher.
EMA Crossover Strategy on MT5: Gold Trading Example
XAU/USD H1: bullish 9/21 EMA crossover with a pullback entry at $3,945, stop at $3,928 and target at $3,979 (1:2).
Let's use a 9 and 21 EMA crossover on an XAU/USD H1 chart.
The prices below are illustrative, showing how the setup works rather than a verified historical trade.
Finding the Bullish Setup
Suppose gold has been falling but finds support between $3,926 and $3,931.
Buyers begin pushing price higher.
At first, the 9 EMA remains below the 21 EMA.
Gold then breaks above $3,935 and closes an H1 candle at $3,942.
The 9 EMA crosses above the 21 EMA, giving a bullish signal.
You have a crossover, but buying at $3,942 could mean chasing the move.
Instead, watch the next pullback.
Planning the Entry
Gold pulls back toward $3,938 before buyers step in again.
The next H1 candle closes at $3,945, holding above both EMAs.
This gives you a possible entry after the pullback.
Your trade plan looks like this:
The stop sits below the earlier support zone.
If gold falls below $3,928, the bullish setup has failed.
The $3,979 target gives the trade twice as much potential reward as risk.
Managing the Trade
Suppose gold rises to $3,964 before pulling back.
One red candle isn't a reason to panic.
Watch whether buyers continue defending higher lows and whether price holds above the 21 EMA.
If gold reaches $3,979, your planned target is met.
If price falls to $3,928 first, the stop closes the trade.
The lesson is simple: use the crossover to find a trade idea, then use price levels to manage risk.
EMA Crossover Strategy on MT5: Forex Trading Example
EUR/USD H4: bearish 20/50 EMA crossover and failed retest near 1.0900. Sell at 1.0885, stop 1.0925, target 1.0805 (1:2).
Now consider a bearish setup on EUR/USD using the 20 and 50 EMA on H4.
This example also uses illustrative prices.
Finding the Sell Signal
EUR/USD has been making lower highs, showing that sellers are gaining control.
Price falls below 1.0900, and the 20 EMA crosses beneath the 50 EMA.
An H4 candle closes below both lines.
Rather than selling straight away, you wait for a pullback toward the broken support near 1.0900.
EUR/USD climbs to 1.0905 but fails to hold above that level.
A bearish H4 candle then closes near 1.0886.
The 20 EMA remains below the 50 EMA, and sellers are still defending the lower-high structure.
Planning the Short Trade
You decide to sell at 1.0885.
The recent swing high is near 1.0921, so you place the stop at 1.0925.
Your target is 1.0805, below the recent lows.
If EUR/USD falls to 1.0840, the position is moving in your favor.
A small bounce doesn't change the original plan.
But if price rises above 1.0925, the stop protects you from a larger loss.
Notice that the trade wasn't based on the crossover alone.
The lower highs, failed retest, and clear stop level all helped build the setup.
How to Avoid False EMA Crossover Signals
EMA crossovers struggle when price moves sideways.
Imagine EUR/USD trading between 1.1000 and 1.1030 for several hours.
The 9 EMA crosses above the 21 EMA, then falls below it three candles later.
Neither signal leads to a clear trend.
This is called a whipsaw.
To avoid these trades, look at the shape of the EMA lines.
When both lines are flat and closely packed, the market may lack direction.
Also avoid entering directly into nearby support or resistance.
A strong crossover matters less when price has nowhere to move.
Where Should You Place Stop Losses and Take Profits?
Don't place your stop loss at a fixed distance just because you're trading an EMA crossover.
Use the chart.
For a buy trade, a recent swing low or support zone can provide a stop level.
For a sell trade, look above the recent swing high.
Then measure the distance between your entry and stop.
If your stop is 20 pips away, a 1:2 target requires 40 pips of potential profit.
Make sure the next support or resistance level leaves enough room for that target.
If it doesn't, skip the trade rather than forcing a poor setup.
Keep your position size tied to the amount you're willing to risk. Gold and forex symbols can have different contract sizes and pip values.
Can You Set EMA Crossover Alerts on MT5?
MT5's built-in Moving Average indicators display the lines but don't provide automatic two-EMA crossover alerts.
To receive crossover notifications, you'll need a custom indicator or Expert Advisor designed for that purpose.
Look for a tool that supports alerts after candle close.
This helps prevent notifications from crossovers that disappear before the candle finishes.
Test any downloaded indicator on a demo chart before relying on its signals.
Final Thoughts
Setting up an EMA crossover on MT5 only takes a few minutes.
The harder part is knowing which signals deserve a trade.
Start with the 9 and 21 EMA for short-term setups or the 20 and 50 EMA for slower trends.
Wait for the candle to close. Check market structure. Mark your stop and target before entering.
Most importantly, don't force trades when the lines keep crossing in a narrow range.
You can use Dominion Markets' MT5 platform to practice these setups and review how different EMA settings behave.
FAQs: EMA Crossover on MT5
What is the best EMA crossover setting for MT5?
The 9 and 21 EMA is a common choice for short-term trading. The 20 and 50 EMA suits slower setups.
Does MT5 have an EMA crossover indicator?
MT5 includes the Moving Average indicator. Add it twice and select Exponential for both lines.
Is an EMA crossover a reliable buy or sell signal?
Not on its own. Crossovers work better when supported by clear price structure and trend direction.
Which timeframe is best for EMA crossovers?
H1 and H4 are useful starting points. Test your chosen settings before trading with real money.
