⚠️ Risk warning: CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly. Most retail accounts lose money. This content is education only, not investment advice or a recommendation.
A moving average (MA) is the average closing price of the last n bars, recalculated on every bar. It smooths out noise so you can see direction. Because it only uses past prices, it always lags: that is the price you pay for smoothness.
SMA and EMA
- A simple moving average (SMA) gives every bar the same weight. The SMA 50 is the average of the last 50 closes.
- An exponential moving average (EMA) gives recent bars more weight, so it turns sooner, and also gets faked out more.
- Common lengths are 20, 50 and 200. There is nothing special about them except that many traders watch them.
Three honest uses
- Trend filter: price above a rising MA 50 or 200, look mainly for long setups; below a falling one, mainly for short setups; a flat MA with price crossing back and forth means there is no clear trend.
- Dynamic support or resistance: in a steady trend, pullbacks often pause near a short MA such as the EMA 20. Treat it as a zone, not a line.
- Slope: the angle of the MA describes trend strength better than any crossover.
Why crossovers disappoint
A "golden cross" (short MA crossing above long MA) or "death cross" (crossing below) is just two lagging lines meeting. By the time they cross, much of the move is often over. In a range, the lines cross again and again, and each cross is a losing signal if traded mechanically.
Common misuse
- Trying many MA lengths until one "fits" past data. That is overfitting; it rarely fits the future.
- Treating a touch of the MA as a reason to enter without any price-action confirmation or stop.
- Using MA crossovers in ranges, where they whipsaw.
This lesson is educational. Moving averages describe past prices; no crossover predicts the next move.
🛠️ Practice task
Use a real chart. This is for practice, not for placing a trade.
- Open EUR/USD on H4 in TradingView or MT5 and add an EMA 20 and an SMA 50. The Invvex EUR/USD page shows the current price.
- Mark each period where both averages slope clearly in one direction, and each period where they are flat and tangled.
- Find the last three EMA 20 / SMA 50 crossovers. For each, measure how far price had already moved from the last swing high or low.
- Repeat on gold (XAU/USD) H4. Do pullbacks in its trends pause near the EMA 20?
- Write your own one-line rule for using the MAs as a filter (not as an entry signal).
🎯 Mark this chart
Study the drawing, pick the letter, then check. This exercise does not count toward your progress; the quiz below does.
✍️ Quick quiz
Check what you learned. Your answers stay in this browser.