Subscribe
EN

Guide · 3 min read

Moving averages on gold: SMA vs EMA, and why crossovers lag

Short answer: A moving average is the average closing price of the last set number of candles, redrawn on every candle. On gold it shows direction, acts as a rough level and can trail a stop. It always lags, so a crossover tells you what has already happened, and in a sideways market it gives many false turns.

Published: 24 October 2026.

Free, no sign-up On sale: the Monthly Pass and the Lifetime Pass. See the plans

1. SMA and EMA

The simple moving average (SMA) treats every candle in the period alike. The exponential moving average (EMA) gives the newest candles more weight, so it follows price more closely and turns sooner. The faster line is not better: it catches more of a trend and also more noise. Pick one, keep it, and do not switch to whichever looks best on today's chart.

2. The periods people watch

Twenty, fifty and two hundred candles are the usual choices, on any timeframe. They matter partly because many traders watch the same lines, which makes them useful reference points, but nobody has shown that they suit gold. A short period suits a short trade and a long one suits a position held for weeks. For how a trend itself is defined, see technical analysis on gold.

3. Why every crossover is late

A moving average is built only from past prices. When a fast line crosses a slow one, the move that caused it has already happened, and gold may be near the end of it. In a trend this still helps you stay on the right side. In a range the lines flatten and cross back and forth, and every false cross costs a spread and maybe a swap. Decide first whether gold is trending, and use support and resistance when it is not.

4. Using one as a trailing stop

Some traders move a stop up along a moving average so a trend can run. It adapts without constant attention, but the average can be far from price after a fast move, and a stop that far means a smaller position. Read trailing stop on gold and size the trade from the stop as in how to calculate lot size for gold. ATR tells you how far gold normally moves, which helps to judge whether the distance is realistic.

5. Testing a moving average rule

If you want a rule such as "buy when the fast average crosses above the slow one", write the entry, exit, stop and size, then backtest it in MT5 with costs charged, and try it on data you did not use to choose the periods. We have not tested moving average rules as a strategy, and no BaroqTech strategy has passed our judge yet, so treat this page as an explanation, not a method. Our gold numbers page shows how far gold usually moves in each hour of the day.

The Monthly Pass and the Lifetime Pass are software licences for your own MetaTrader account. They score every robot and strategy you run the same way, with costs inside every number. See the plans.

FAQ

What is a moving average on gold?

It is the average closing price of the last set number of candles, redrawn on every new candle. It smooths the chart so the direction is easier to see, at the price of being late.

What is the difference between SMA and EMA?

The simple average weighs every candle in the period equally. The exponential average weighs recent candles more, so it turns faster and also gives more false turns.

Which moving average period is best for gold?

No period is best in general. Twenty, fifty and two hundred are popular because many traders watch them, not because they were found to work on gold. Test any period with costs before relying on it.

What is a moving average crossover?

It is when a faster average crosses a slower one. Traders read it as a change of trend. Because both averages look backward, the cross comes after much of the move has happened.

Do moving averages work in a ranging market?

Poorly. When gold moves sideways the averages flatten and cross again and again, and each cross can cost a spread. Check whether the market is trending before you use them.

Can I use a moving average as a stop?

Some traders trail a stop along one. It adapts to the trend, but it can sit far from price, so size the trade from the distance to the stop, not from a fixed lot.

Gold EA Checking Kit, $9

Every check from these articles, on one printable page.

An educational tool. It is not investment advice. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it.

BaroqTech makes software. It is not investment advice and it does not manage money. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it. Results from a test or from a demo account do not predict results on a real account.

Free book · PDF · 6 pages and 1 more

The Gold Field Guide

The gold day hour by hour, the six forces behind the price and the releases worth a place in your calendar.

We send the download link to this address and keep the address for this book. Without the tick, that is the only email. The book itself is in English. Privacy: what we store and why.

Keep reading

All 73 guides

Markets in numbers

Compared

Seasonality

Volatility

Price history

Best time to trade

Moving averages

Market correlations

RSI

Limited time offer

20% off

your first month of the Monthly Pass

Offer ends 31 October 2026

We email you the code and one note when the trading system goes on sale. Unsubscribe in any email. Privacy