CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 72.78% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money before trading CFDs.

Technical Analysis

Moving Average Crossover

Understanding moving averages

Moving averages are one of the most commonly used technical indicators in the forex market. A moving average (MA) is a trend-following or lagging indicator because it is based on past prices.

The two main types of moving averages are:

  • Simple Moving Averages (SMA)
  • Exponential Moving Averages (EMA)

Both SMA and EMA are averages of a particular amount of data over a predetermined period of time. While Simple Moving Averages aren’t weighted towards any particular point in time, Exponential Moving Averages put greater emphasis on more recent data.

Let’s dig into Simple Moving Averages(SMA)

For example, A 10-day SMA is calculated by getting the closing price over the last ten days and dividing it by 10. When plotted on a chart, the SMA appears as a line that approximately follows price action – the shorter the time period of the SMA, the closer it will follow price action.

Using SMA Crossover to Develop a Trading Strategy

A popular trading strategy involves 4-period, 9-period and 18-period moving averages which helps to ascertain which direction the market is trending. We’ll focus on SMAs because they tend to indicate clearer signals and we’ll use it to determine entry and exit signals, as well as support and resistance levels.


A buy/sell signal is given when the 4-period SMA crosses over the 9-period SMA AND they both then cross over the 18-period SMA. Generally, the sharper the push from all moving averages the stronger the buy/sell signal is unless it is following a substantial move higher or lower. Hence, if price action is wandering sideways and the 4-period and 8-period SMAs just drift over the 18-period, then the buy/sell signal is weak, in which case we keep an eye on price to ensure it remains below/above the 18-period SMA. Whereas if the first two moving averages shoot above/below the 18-period SMA with a purpose, then the buy/sell signal is stronger (in this case confirmation of a strong upward/downward trend can come from an aggressive push higher/lower from the 18-period SMA).

Aggressive traders may enter the position if they see a strong crossover of the 4-period and the 9-period SMAs in anticipation of both crossing the 18-period SMA. We suggest ensuring that all moving averages are running in the direction of the break and that you keep a close eye on momentum. If momentum starts to dwindle early it can be an indication of a weak trend.


You can wait for the aforementioned moving averages to re-cross each other or you can use your own judgment to determine when to exit the position. In a strong trend, you may choose to exit the trend when it starts to head in the wrong direction over a few time periods, as sharp pushes in either direction can be subject to retracements.

In weak trends, we suggest utilizing trailing stops. In any case, a big warning sign is when the 4-period and 9-period SMA cross back over the 18-period SMA, especially if the trade isn’t working out as planned. It may be a good time to get out to prevent possible further losses.


Ideally, a stop should be placed far enough away that it isn’t triggered prematurely but close enough to minimise losses. The goal of a stop is to attempt to protect you in case of a sharp spike in the wrong direction. In many cases,the 4-period and 8-period SMAs will cross over the 18-period SMA before a stop is triggered, which should be an indicator to cut your losses.

Buy example: USDJPY 10-minute chart

Notice that there is a strong push higher in price action after the crossover and then are a few opportunities to exit the trade. It’s also interesting to note that when the 4-period and 8-period SMAs cross back under the 18-period SMA it is a very un-interesting crossover (price action and the SMAs are very flat), so it wouldn’t entice us to get short.

SMA Tips

  • Shorter time frames tend to hug price action more closely than longer ones because they are focused more on recent prices
  • Shorter time frames will be the first to react to a movement in price action
  • Look at short and multiple time frames; for instance, look at both the 10 and 15 minutes charts simultaneously.
Next topic

Open an Account. Get started in less than 5 minutes