Simple Moving Average (SMA): 3 Ways Traders Use It
Indicators 20 min read

Simple Moving Average (SMA): 3 Ways Traders Use It


A simple moving average (SMA) is the plain average of the last N closing prices, redrawn as a line after every new candle. A 50-period SMA adds up the last 50 closes and divides by 50. Traders use it in three main ways: as a trend filter (price above or below one average), as a crossover signal between a fast and a slow average, and as a line price falls away from and later reclaims. It lags by design, so it reads trends well and chops in sideways markets. The exponential moving average is its faster cousin.

What a simple moving average looks like on a chart

Here is the simple moving average every course draws first: one line through daily gold candles. When price sits above the line the trend reads up, and a close below it is the first warning.

Simple moving average anatomy on the XAU/USD daily chart, a 50-day SMA rising under an uptrend until a daily close drops below the line and the average rolls over
Spot gold (XAU/USD), daily chart. The navy line is the SMA 50, the average of the last 50 daily closes. The red circle marks the first close below the SMA after a long run above it, a bearish read. The average then flattens and turns down.

Everything a beginner needs is on that one picture. Point at it piece by piece:

  • The candles ride above the navy line for most of the left half. That is what an uptrend looks like through an SMA.
  • The line itself rises smoothly while the candles jump around. The average irons out daily noise.
  • At the red circle a daily close lands under the line. That is the read traders call “price lost the 50”.
  • After the break the line stops climbing, rolls over, and price spends the rest of the window mostly beneath it.
  • The line turns late. The top in the candles came well before the average bent down, which is the lag every SMA carries.

Rule of thumb: the SMA tells you what the trend has been, not what it will be.

How the SMA is calculated

The simple moving average formula is the arithmetic mean you learned at school. Add up the last N closes, divide by N, plot the dot, repeat on the next candle.

SMA = (C1 + C2 + … + CN) ÷ N, where C is each closing price and N is the period.

A 5-period example on illustrative EUR/USD closes shows how the line moves:

5-period SMA, worked by hand (illustrative closes)
CandleCloseRunning sum
11.08501.0850
21.08702.1720
31.08653.2585
41.08904.3475
51.09005.4375
  • After candle 5: 5.4375 ÷ 5 = 1.0875. That is the first SMA value.
  • Candle 6 closes at 1.0920. The oldest close (1.0850) drops out and the new one comes in.
  • New sum: 5.4375 − 1.0850 + 1.0920 = 5.4445.
  • New SMA: 5.4445 ÷ 5 = 1.0889. The line moves up by 14 pips.

That “one in, one out” step is why it is called a moving average. It also explains the SMA’s two quirks:

  • Every close in the window counts equally. The close from 50 days ago weighs as much as yesterday’s.
  • When a big old candle drops out of the window, the line can jump even if today’s price barely moved. Traders call this the drop-off effect.

SMA vs EMA in one table

The question everyone asks next is how the simple average differs from the exponential one. The short version sits below; the full comparison lives in our EMA vs SMA guide.

In the table, “regime” means whether the market is in a long-term uptrend or downtrend.

Simple vs exponential moving average
FeatureSMAEMA
WeightingAll closes equalRecent closes heavier
SpeedSlowerFaster
NoiseSmoother lineMore wiggle
False signalsFewerMore
Best forTrend and regimeTiming entries

Neither is better. A slower line suits the job of telling you which side of the market to be on.

A faster line suits the job of getting in sooner.

Which SMA settings traders use

Before the three methods, it helps to know the handful of periods the market actually watches. A level works partly because thousands of traders look at the same line.

The chart codes are timeframes: M15 = 15-minute, H1 = 1-hour, H4 = 4-hour, D1 = daily.

Common simple moving average periods
PeriodTypical chartWhat it reads
SMA 10H1, M15Very short swings
SMA 20H1 to D1Short-term trend
SMA 50H4, D1Medium trend
SMA 100M15 to H4Intraday backbone
SMA 200D1Long-term regime

A few notes on picking one:

  • The 200-day SMA is the most quoted line in finance. Fund managers, journalists and retail traders all reference it, so price often reacts near it.
  • The 20 roughly matches a trading month on a daily chart. The 50 covers about 2.5 months, a bit under a quarter.
  • On intraday charts, the “same” period means much less time. A 100-period SMA on the 15-minute covers about a day of trading.
  • Odd numbers like 47 or 63 have no magic. If nobody else watches a line, it is just your private average.

Method 1: price above or below one SMA (the trend filter)

This is the gold chart from the top of the page, put to work. One line, one question: is the close above it or below it?

  • Above a rising SMA: the trend reads up. Look for buys, skip shorts.
  • Below a falling SMA: the trend reads down. Look for sells, skip longs.
  • Price crossing the line back and forth while the SMA runs flat: no trend. Step aside or switch to range tools like support and resistance.

The slope matters as much as the side. A close above a line that still points down is a question, not an answer.

Method 1: roles of a single SMA
RoleHow you use itBest read
Trend readClose vs SMA sideD1, SMA 50/200
Regime filterTrade one side onlyD1 SMA 200
Early warningFirst close throughD1, H4 SMA 50
Exit cueClose back acrossH4 SMA 20/50
ContextSlope up, flat, downAny TF

How it reads across instruments

  • Gold (XAU/USD) trends in long legs, so the daily SMA 50 and SMA 200 read cleanly. In a strong bull run, the first close below the 50 is often a pause rather than a top, so wait for the line to turn.
  • EUR/USD moves slower and ranges more. The daily SMA 200 is the cleaner regime line; the 50 gets crossed often in quiet months.
  • GBP/USD swings harder than the euro. Same lines work, but expect deeper pokes through the average before the trend actually breaks.
  • On Bitcoin, the daily SMA 200 is a widely followed bull/bear line for crypto. Weekly charts are also popular, because daily crypto noise is large.
  • Silver (XAG/USD) follows gold’s direction but with sharper spikes. Give the line more room before calling a break.

What the gold example teaches

  • The read was correct: a close below the 50 after a long uptrend, and price did fall.
  • The read was late: the actual high printed weeks before the break. That is the cost of a smoothed line.
  • The read was noisy right after: price bounced back toward the falling SMA more than once. A single close through the line is a warning, not a guarantee.

Takeaway: use one SMA to decide which side to trade, not exactly when to click.

Method 2: two SMAs crossing (the crossover)

The second classic use adds a faster average to the slower one. When the fast line crosses the slow one, the short-term trend has overtaken the medium-term trend.

Two simple moving averages on the EUR/USD 4-hour chart, the 20-period SMA crossing below the 50-period SMA before a sharp drop, then turning back up at the end of the window
EUR/USD, 4-hour chart. Orange is the SMA 20, navy is the SMA 50. The red circle marks the fast SMA crossing below the slow SMA, a bearish read; the sharp drop followed a few candles later. At the far right the orange line is turning back above the navy one.

Read the chart in three steps:

  • Before the circle: both lines run almost flat and close together. The fast line weaves above and below the slow one with no follow-through. That is a range.
  • At the circle: the orange line bends down through the navy line. The bearish crossover prints.
  • After it: a large red candle breaks lower, the gap between the lines opens up, and both averages slope down. That spread between the lines is what a real trend looks like.

Notice the end of the window too. The orange line curls back toward and above the navy one as price recovers, which would be the opposite signal.

Method 2: common SMA crossover pairs
PairChartStyle
10 / 20M15, H1Intraday
20 / 50H4Swing
50 / 100H4, D1Swing to position
50 / 200D1Golden and death cross

The 50/200 daily pair has its own name: the bullish version is the golden cross and the bearish one the death cross. Both are covered in our golden cross and death cross guide.

Other pairs and three-line systems are in the moving average crossover guide.

Crossover roles, beyond the entry

Method 2: what a crossover can do
RoleHow you use itBest read
Entry triggerTrade the crossH4 20/50
Trend changeNote the new sideD1 50/200
ConfirmationBack a price signalH1, H4
Strength gaugeGap between linesAny TF
Exit cueOpposite crossH4 20/50

Where crossovers break down

  • In a range, the lines cross again and again. Each cross is a small loss if you trade it blindly, which traders call a whipsaw.
  • On fast charts the problem grows. A 10/20 cross on the 15-minute fires several times a session on EUR/USD.
  • On slow charts the signal comes late. A daily 50/200 cross can land long after the move began.

Two simple fixes, both visible on the chart without extra tools:

  • Wait for the lines to separate after the cross. If they stay tangled for several candles, it was probably noise.
  • Check the slope of the slow line. A cross where the slow SMA still points the opposite way is a weaker signal.

Some traders add a trend-strength gauge like the ADX to skip crosses in flat markets. That is optional; the separation check above catches much of the same noise.

Takeaway: a crossover is a trend-change alert, and it pays best when the lines then spread apart.

Method 3: the SMA as a line price leaves and reclaims

The third use treats the average as a moving level. Price drifts below it during a pullback, then closes back above it when buyers return, or the mirror for sellers.

This is the most popular way to use a longer SMA on fast charts. The line acts like a moving floor or ceiling.

SMA 100 on the BTC/USDT 15-minute chart, price trading below a falling 100-period simple moving average, then a strong candle closes back above the flattening line and price holds above it
Bitcoin (BTC/USDT), 15-minute chart. The navy line is the SMA 100, the average of the last 100 fifteen-minute closes, roughly a day of trading. The green circle marks a close back above the SMA after a long stretch below it, the reclaim. Price then holds above the line while it flattens and turns up.

What happened, in order:

  • For most of the window, price traded below a falling SMA 100. Sellers controlled the session.
  • Selling stalled into a low, and candles started pressing up toward the line.
  • A strong green candle closed through the average. That close is the reclaim.
  • The next candles dipped but stayed above the SMA. The line flattened, then curled up underneath price.

The best part of a reclaim is the retest. When price pulls back to the average and holds, the line has switched from ceiling to floor.

Method 3: roles of a reclaim or rejection
RoleHow you use itBest read
Entry triggerClose back acrossM15, H1 SMA 100
Pullback zoneBuy dips to the lineH1, H4 SMA 20/50
Rejection shortSell a failed reclaimM15 to H4
Stop referenceStop beyond the lineAny TF
TrailExit on close throughH1 SMA 20

How the reclaim reads across markets

  • Bitcoin trades around the clock, so a 15-minute SMA 100 covers a full day. Reclaims after a sell-off are common, but so are fakeouts during thin weekend hours.
  • On gold’s 1-hour chart the SMA 50 and 100 work as pullback zones in a trend. Reactions are cleaner during the London and New York sessions.
  • On EUR/USD the 1-hour SMA 100 reads best around the London open and the New York overlap. Asian-session crosses are often noise.
  • GBP/JPY swings wide, so price often pierces the line by a lot before reclaiming. A close beats a wick here.

Rejection, the mirror image

The same chart read upside down is a rejection. Price rallies into a falling SMA, prints a wick through it, and closes back below.

  • A rejection in a downtrend is the short-side version of the reclaim.
  • Two or three rejections at the same falling line make it a strong ceiling.
  • A clean close above it, then a hold on the retest, cancels the bearish read.

Takeaway: judge the reclaim on the close and the retest, never on a wick.

Which SMA method to use, and when

The three methods are not rivals. They answer different questions, and many traders stack them from slow to fast.

Decision table: which SMA use fits
Your situationUseSetting
Which side to tradePrice vs one SMAD1 SMA 200
Spot a trend changeCrossoverD1 50/200
Swing entriesCrossoverH4 20/50
Buy a pullbackReclaim / dip to lineH1 SMA 50
Intraday timingReclaimM15 SMA 100
Sideways marketSkip SMA signalsUse range tools

One example stack, slow to fast

  • Daily chart: price above a rising SMA 200, so longs only.
  • 4-hour chart: wait for the SMA 20 to cross back above the SMA 50 after a pullback.
  • 1-hour or 15-minute chart: time the entry on a reclaim of the SMA 100, and place the stop beyond the line.

Each layer filters the one below it. The slow line picks the side, the middle one picks the swing, the fast one picks the candle.

By instrument and timeframe

SMA reads by instrument
InstrumentCleanest readWatch out for
XAU/USDD1 SMA 50/200Pauses in bull runs
EUR/USDH4 20/50Long flat ranges
GBP/USDH4, D1 SMA 50Deep pokes
BTC/USDTD1 SMA 200, M15 100Weekend fakeouts
XAG/USDD1 SMA 50Sharp spikes

Common SMA mistakes

  • Treating the line as an exact price. Price rarely touches an SMA to the pip. Think of it as a zone a little above and below the line.
  • Trading every cross in a range. A flat SMA with candles on both sides is telling you there is no trend.
  • Judging on wicks. An intraday wick through the line means little; the close is what counts.
  • Stacking five averages. Three lines at most; after that the chart says everything and nothing.
  • Forgetting the drop-off effect. A sudden kink in the line can come from an old candle leaving the window, not from today’s price.
  • Using the 200 on a 1-minute chart and expecting it to behave like the daily 200. Same number, very different meaning.
  • Calling a top from the first close below the line. In a strong trend that close is often just a pullback.

Using an SMA in your own trading

The SMA itself does not size or manage a trade. Those rules come from you, and they matter more than the setting you pick.

  • Place the stop beyond the line, not on it. If a reclaim fails, price returns below the SMA, so the stop belongs past the recent swing on the far side.
  • Risk a fixed slice of the account per trade, such as 2%. Size the position from the stop distance using our position sizing walkthrough.
  • Set the target before entry and check the trade still offers at least a 1:2 risk/reward ratio, meaning the target is twice as far as the stop.
  • Expect runs of small losses in ranges. Any trend tool gives back some trades in a sideways market, and that is the cost of catching the trends.
  • If you take three to six losses in a row, pause. The market may have shifted from trend to range, and the SMA cannot tell you that in advance.
  • Do not chase a candle that has already run far from the line. Wait for the next pullback toward the average.

On a small account, micro lots let you size a 2% risk precisely on EUR/USD or gold.

How to add it on TradingView and MetaTrader

  • On TradingView, open the chart, click Indicators, and search “Moving Average Simple”. Change the Length (the default is short) to 20, 50, 100 or 200, and keep Source on “close”. Add it twice for a crossover.
  • On MT4 / MT5, go to Insert, then Indicators, then Trend, then Moving Average. Set MA method to “Simple” and Apply to “Close”. The default period is 14, so change it.
  • Watch for look-alikes: “Moving Average Exponential”, “Moving Average Weighted” and “Smoothed Moving Average” sit right next to it in the list. They look similar and move differently, so check the name.

What works: the short version

  1. One SMA for direction. The daily 200 or 50 tells you which side to trade.
  2. Two SMAs for trend change. A 20/50 cross on the 4-hour flags new swings when the lines then separate.
  3. A longer SMA on a fast chart for timing. A close back above the 15-minute or 1-hour SMA 100, held on the retest, times the entry.

And one thing that does not: trading any of the three blindly in a flat, sideways market. When the SMA runs flat, step aside.

If you want a faster line for the timing layer, the Hull moving average cuts much of the lag. For the bigger picture of riding trends, see our trend following guide.

Key SMA terms

  • SMA: simple moving average, the plain average of the last N closes.
  • Period (length): how many candles the average covers.
  • M15 / H1 / H4 / D1: chart timeframes of 15 minutes, 1 hour, 4 hours and 1 day.
  • Regime: whether the market is in a long-term uptrend or downtrend.
  • Slope: whether the line points up, down or flat.
  • Crossover: a fast SMA crossing a slow SMA.
  • Golden cross / death cross: the 50-day SMA crossing above / below the 200-day SMA.
  • Reclaim: a close back above an SMA after trading below it.
  • Rejection: a rally into an SMA that fails and closes back below it.
  • Whipsaw: a signal that reverses almost immediately, common in ranges.
  • Drop-off effect: the line jumping because an old candle left the window.

FAQ

What is a simple moving average, in plain terms?

It is the average closing price over the last few candles, drawn as a line. A 20-period SMA adds the last 20 closes and divides by 20, then repeats on every new candle. The line smooths out noise so you can see which way the market has been heading.

How do you calculate the SMA?

Add the closing prices for the chosen number of periods and divide by that number. For five closes of 1.0850, 1.0870, 1.0865, 1.0890 and 1.0900, the sum is 5.4375 and the SMA is 1.0875. On the next candle, drop the oldest close, add the newest, and divide again.

Does the simple moving average actually work?

It works well at one job: showing the direction of a trend that already exists. It does not predict turns, and it gives false signals in sideways markets. Traders who do well with it use it to pick a side and a zone, then manage risk with a stop and a fixed position size.

What is the best SMA setting?

There is no single best one. The 200-day suits the long-term trend, the 50 the medium trend, and the 20 short swings. On intraday charts, the SMA 100 on the 15-minute is a common backbone. Pick lines that many traders watch, because shared levels react better than private ones.

Is SMA or EMA better?

Neither. The SMA is smoother and slower, so it suits trend and regime reads with fewer false signals. The EMA weights recent prices more, so it reacts faster and suits entry timing. Many traders use an SMA 200 for direction and a short EMA for timing.

What timeframe is best for the SMA?

The 4-hour and daily charts give the cleanest reads, because each candle carries more information. On the 15-minute and 1-hour, use longer periods like 100 and expect more noise. A good habit is to read the trend on the daily, then drop down only to time the entry.

Does the SMA work on Forex, gold and Bitcoin?

Yes, on all three, because it only needs closing prices. Gold trends in long legs, so its daily lines read cleanly. EUR/USD ranges more, so the daily 200 is the more reliable line there. Bitcoin's daily 200 is a widely watched bull and bear line.

Why does price react at the 200-day SMA?

Partly because so many people watch it. Funds, analysts and retail traders all reference the 200-day, so orders cluster around it. That shared attention turns an average into a level, though it is a zone, not an exact price.

How much money do I need to trade with an SMA?

The indicator is free, so the question is position size. With micro lots, a $500 account can risk 2% per trade, about $10, on EUR/USD with a stop of a few dozen pips. Gold moves in bigger steps, so a wide stop may not fit a small account at all.

What do the key SMA terms mean?

Period is the number of candles averaged. Slope is the line's direction. A crossover is a fast SMA crossing a slow one, and the 50/200 daily version is the golden or death cross. A reclaim is a close back above the line, a rejection is a failed push through it, and a whipsaw is a signal that reverses straight away.

🌍 Our recommended brokers

★★★★☆ 4.4
CySEC · ASIC Since 2009 $5
EUR/USD spread 1.6 pips
Min deposit $5

Regulated broker, $30 no-deposit bonus. 1000+ instruments.

Claim Bonus →

74% of retail CFD accounts lose money.

Compare top forex brokers →
★★★★★ 4.6
FCA · CySEC Since 2007 $50
Copy trading ✓ Built-in
Min deposit $50

Trade stocks, crypto and forex. 30M+ users worldwide.

Join eToro →

74% of retail CFD accounts lose money.

Full eToro review →

Reader Reviews

0.0 No reviews yet

Be the first to review this — tell other traders what actually helped, or where it fell short.

Leave a Review

Nina Carr
Nina Carr

Quant Researcher & Systems Builder

Quantitative researcher who builds the automated systems behind Arxum strategy testing. Works in Python and Pine Script, using AI alongside classic backtesting to validate strategies on years of real data.

Strategy AutomationPython & Pine ScriptAI-Assisted BacktestingSystematic Validation