Technical analysis · Beginner

Moving Averages

A moving average is price with the noise averaged out. It is a good filter, a fair support zone and a poor timing tool, in that order.

Last reviewed by the MarketPro research desk · Editorial policy

In short

A moving average plots the average of the last N closing prices, smoothing out short-term noise. A simple moving average weights every close equally, while an exponential moving average weights recent closes more heavily and therefore turns faster. The 20, 50 and 200 are the commonly watched lengths. Because an average is built from past prices, it confirms a move rather than predicting one.

What to remember

  • A moving average is a lagging filter, not a signal. Its best use is answering one binary question: is price above or below, and which way is the line sloping?
  • Crossovers work in trends and whipsaw in ranges. The same rule that earns in a trending month bleeds a spread at a time in a sideways one.
  • When the 20, 50 and 200 are stacked and sloping together, trend tools are in their element. When they are braided, every trend tool on the chart underperforms.
  • There is nothing magic about the 200. It works partly because a large number of participants watch that exact line.

A moving average is a smoothed price, nothing more

A moving average takes the last N closing prices, averages them and plots the result. That is the whole calculation. A 20-period simple moving average on the daily chart is the mean of the last twenty daily closes, recalculated each day as the oldest close drops out and the newest drops in. Nothing predictive is happening. You are looking at price with the noise averaged away.

The two common variants differ only in weighting. The simple moving average (SMA) gives every close in the window the same weight. The exponential moving average (EMA) weights recent closes more heavily, so it turns sooner after a move and hugs price more closely. An EMA reacts faster; that is the only reason to prefer one, and faster is not automatically better.

The three lengths worth knowing

  • 20 periods. Short-term. In a steady trend, pullbacks often stall near it. On the daily chart it is roughly a trading month.
  • 50 periods. Medium-term. Widely watched, which is part of why it works, and a common dividing line between a shallow pullback and a proper correction.
  • 200 periods. Long-term. Price above a rising 200 EMA is one of the simplest robust definitions of an uptrend that exists, and a lot of systematic strategies do nothing more sophisticated than refusing to take shorts above it.

Three uses, in order of reliability

The first and best use is as a trend filter. You are not asking the average to time anything. You are asking it one binary question: is price above or below, and is the line sloping up or down? That single filter removes a large share of the trades that a trend-following plan should never have taken.

The second is dynamic support and resistance. In a well-behaved trend, pullbacks tend to run out of energy somewhere near the 20 or 50 EMA. This is descriptive rather than mechanical. The average is not holding price up; it just happens to sit where buyers who missed the first leg are looking.

The third, and the weakest, is crossovers. A faster average crossing a slower one (20 above 50, say) marks a momentum shift that has already occurred. Crossovers earn money in trending markets and bleed it in ranges, where the two lines cross back and forth repeatedly and each cross costs you a spread.

10 more sections in MarketPro

Finish this lesson in MarketPro

The rest of Moving Averages, a quiz that checks it landed, and your place kept in the curriculum.

  • 10 more sections of this lesson
  • All 320 lessons, with no cap and no paywall
  • Free on any account, including a free one
In your browserContinue on webor continue on web

Same account as the app · No install · Free to start

Or scan with your phone camera to get the MarketPro app.

Not investment advice. Past performance is not indicative of future results.

Run the numbers while this is fresh

Work it through on your own position size. Nothing leaves your browser and there is no sign-up: Pivot points calculator, Fibonacci calculator.

Written and reviewed by the MarketPro research desk

MarketPro is a trading-signal and trading-education app operated by Harajuku Holdings LTD (Cyprus). Our signal desk publishes and tracks every trade idea in-app, and every page here is checked against the app's live behaviour before publishing. Last reviewed . How we produce signals and content · About MarketPro

FAQ

Moving Averages: questions

What is the difference between an SMA and an EMA?
Both average the last N closes, but a simple moving average weights every close in the window equally while an exponential moving average gives more weight to the most recent ones. The EMA therefore turns sooner after a change in direction and tracks price more closely. That extra responsiveness also means more false turns in choppy conditions.
Which moving average is best for forex?
There is no single best length, and any length that looks perfect on historical data was usually chosen after seeing that data. The 20, 50 and 200 are widely used mainly because so many participants watch them. Pick a length that matches your holding period, write the rule down, and judge it over a large sample rather than a handful of trades.
Do moving average crossovers actually work?
Crossovers identify a momentum shift that has already happened, so they tend to capture the middle of a sustained trend and lose repeatedly in a range. Used alone they produce a long string of small losses between the occasional large gain. Most traders who use them add a trend-strength or volatility filter so the rule is switched off in sideways conditions.
Trade · Learn · Earn

The whole academy is free in MarketPro

All 320 lessons, 12 guided paths, quizzes and a daily streak. Free on every account, in the app or your browser, with vetted free signals alongside it.

Same account as the app · No install · Free to start

Not investment advice. Past performance is not indicative of future results.