Skip to content
EP24 Free trading lesson · Indicators

What Is the EMA? Using the Moving Average to Read Trends and Find Entries

The moving average that follows price fastest, with the formula, how EMA differs from SMA and 3 ways to use it: trend · support and resistance · crossovers

By 1TRADER7 min readUpdated 16 Oct 2026
!
Note: The numbers in this article are examples to explain the calculation. The EMA does not predict the future; use it with price structure and risk management. This content is for education only and is not investment advice.

Quick summary before you read

  • The EMA is a moving average that gives more weight to recent prices, so it follows price faster than the SMA but also gives more false signals
  • Formula: EMA = close × k + yesterday’s EMA × (1 − k), where k = 2 ÷ (n + 1); for EMA 10, k ≈ 0.18
  • 3 uses: reading the trend · dynamic support and resistance · crossovers (Golden Cross / Death Cross)
  • It works best in trending markets; in sideways markets the lines cross back and forth and give false signals, so combine it with price structure
01Definition

What is the EMA?

The moving average is a basic tool traders use to read price direction in every market: stocks, Forex, gold and crypto. A very popular type is the EMA, because it follows price faster than the SMA.

The EMA (exponential moving average) is a moving average calculated by giving more weight to recent prices than to older ones. That makes it more sensitive than the SMA, so it catches price reversals sooner, but it also produces more false signals.
EMA
An average that weights the latest price most, with the weight shrinking exponentially for older prices
SMA
A simple average where every candle has equal weight, e.g. SMA 10 = sum of 10 closes ÷ 10
Period (n)
The number of candles used, e.g. EMA 20 on H1 covers the last 20 hours, on D1 the last 20 days
The EMA (exponential moving average) gives more weight to recent prices, so it is faster than the SMA but gives more false signals
The EMA weights recent prices more, so it is faster than the SMA · tap to enlarge
!

The period is a number of candles, not always days: EMA 20 on M15 is twenty 15-minute candles (5 hours), so the same EMA setting looks different on each timeframe.

02Formula

The EMA formula

The EMA formula is a little more complex than the SMA, because each value builds on the previous candle’s EMA.

EMAt=(Close × k) + (EMAt−1 × (1 − k))
Close
The latest candle’s closing price (Pricet)
k
The multiplier = 2 ÷ (n + 1), e.g. EMA 10 → 2 ÷ 11 ≈ 0.1818
EMAt−1
The previous candle’s EMA; the very first value usually starts from the SMA of the first n candles
EMA formula: EMA = (close × multiplier) + (previous EMA × (1 − multiplier)), where multiplier = 2 ÷ (n + 1)
The EMA formula and the multiplier = 2 ÷ (n + 1) · tap to enlarge
Worked example

EMA 10 on gold

Yesterday’s EMA 10 = 4,100 · today’s close = 4,150

(4,150 × 0.1818) + (4,100 × 0.8182) = 754.55 + 3,354.55

Price is 50 points above the old EMA, so the line moves up 18% of the gap (+9.09)

Today’s EMA 4,109.09
Price weighting

EMA 10 vs SMA 10

SMA 10: every candle 10% · EMA 10: latest candle 18.2% → 10th candle back ≈ 2.4%

The EMA weights the latest price about 7 times more than the price 10 candles ago

Latest price counts ≈ 7.4× more

In practice you don’t calculate it yourself; platforms like TradingView and MT4 do it automatically. Understanding the formula simply shows why the EMA is faster than the SMA.

03Pros & Cons

EMA pros and cons

Pros
1
Reacts to price faster than the SMA – the line turns quickly with new prices, so you see changes sooner
2
Good for spotting trend changes – crossover signals appear earlier than with a simple moving average
3
Works short and long term – choose the period to fit your style, from scalping to long-term holding
Cons
1
Too sensitive, prone to false signals – a single sharp candle can drag the line with it
2
Poor in sideways markets – price whipsaws across the EMA, so trades often hit the SL
3
Still lags price – the EMA is built from past prices, so it confirms but cannot predict
04Practice

3 ways to trade with the EMA

How to trade with the EMA: an uptrend candlestick chart with several EMA lines, price pulling back to test the EMA and continuing
Trading with the EMA: price holds above the lines and pulls back to test them in an uptrend · tap to enlarge

1. Read the trend with the EMA

Uptrend
1
Price is above the EMA – and the EMA slopes up
2
Lines stacked in order – EMA 20 above 50, and 50 above 200
Downtrend
1
Price is below the EMA – and the EMA points down
2
Lines stacked in reverse – EMA 20 below 50, and 50 below 200

Short EMAs (such as EMA 10 or 20) show the short-term trend, while long EMAs (such as EMA 50 or 200) show the market’s bigger trend. If price is above the line but the line is still flat, treat the market as having no clear trend and check the high–low structure as in EP1 Trends.

2. Use the EMA as dynamic support and resistance

1
Uptrend – price often pulls back to test the EMA and then bounces higher, so the line acts as support
2
Downtrend – price often rallies to test the EMA and then falls further, so the line acts as resistance
3
Higher timeframes are stronger – EMA tests on H4 or D1 tend to bounce harder; then find the entry on a lower timeframe as in EP19 Multi-timeframe
!

Treat the EMA as a zone, not an exact line. Price may poke through slightly before bouncing, so wait for a confirmation candle and put the stop loss below the latest swing low, not right under the EMA.

3. Use EMA crossovers as signals

Bullish signal

Golden Cross

A short EMA (e.g. 50) crosses above a long EMA (e.g. 200)

Confirms the trend has turned up; look for buys

Signal BUY
Bearish signal

Death Cross

A short EMA (e.g. 50) crosses below a long EMA (e.g. 200)

Confirms the trend has turned down; look for sells

Signal SELL
!

Standard pairs: EMA 50 and 150 also work, but the Golden Cross / Death Cross the market usually refers to uses 50 and 200. Day traders prefer shorter pairs such as EMA 9/21 or 20/50. Crossovers happen after price has already started moving, so use them to confirm the trend rather than as precise entries.

05Settings

EMA settings in TradingView and MT4

TradingView
1
Add the indicator – click Indicators and search for Moving Average Exponential
2
Settings – set Length, e.g. 20, and Source to close
3
Add more lines – add the indicator again with Length 50 and 200 in distinct colours (free accounts limit the number of indicators; see EP15)
MT4 / MT5
1
Add the indicator – Insert → Indicators → Trend → Moving Average
2
Settings – Period, e.g. 20 · MA method Exponential · Apply to Close
3
Save a template – once your lines are set, save them as a template to reuse on every chart
06Tips

Cautions when using the EMA

Watch out
1
Sideways markets – when the EMA is flat and price keeps crossing it, stop using crossovers or trade the range as in EP2
2
Too many lines – 5–6 lines clutter the chart and slow your decisions; 2–3 are enough
3
Big news – one sharp candle can distort the line; check news times in EP21 Forex Factory
Do this
1
Combine with other tools – confirm with price structure (Dow Theory), price action, RSI or pivot points
2
Watch the slope – a steep line means a strong trend, a flat line means no trend
3
Test before trading live – backtest your EMA settings as in EP10 and check the risk/reward every time
07Summary

Summary: popular EMA settings

EMATermWhat it showsBest for
EMA 9–10Very shortMomentum of the latest priceScalping, timing entries on M1–M15
EMA 20–21ShortShort-term trend and pullbacksDay trading on M15–H1
EMA 50MediumMedium-term trend, dynamic support and resistanceSwing trading on H1–H4
EMA 100Medium–longStronger support and resistanceHolding several days on H4–D1
EMA 200LongThe big trend, the line between bull and bear marketsEvery style, as a direction filter before trading

The EMA is a key tool for understanding the trend and finding better entries and exits, but don’t use it alone. Combine it with other analysis such as Dow Theory, price action or other indicators to improve accuracy and reduce mistakes.

08FAQ

FAQ about the EMA

What is the EMA?

The EMA (exponential moving average) is a moving average that gives more weight to recent prices than to older ones, so it reacts to price changes faster than the SMA. It is used to read the trend, as dynamic support and resistance, and for crossover signals.

How is the EMA different from the SMA?

The SMA weights every candle equally; in SMA 10 each candle counts 10%. EMA 10 gives the latest candle about 18% and less to each older one, so the EMA turns with price sooner but gives false signals more often than the SMA.

What EMA settings should I use?

There is no single best setting. Popular choices are EMA 9–10 and 20–21 for the short-term trend, EMA 50 for the medium term and EMA 200 for the big trend. Pick 2–3 lines and stick with the same settings.

What are the Golden Cross and Death Cross?

A Golden Cross is when a short moving average crosses above a long one, a bullish signal. A Death Cross is when the short average crosses below the long one, a bearish signal. The standard version uses the 50 and 200 lines, and crossovers usually come later than the actual turning point.

Which timeframe is best for trading gold with the EMA?

It works on every timeframe. Check EMA 50 and 200 on H4 or D1 for the big trend first, then use EMA 20 on M15 to H1 to time entries when price pulls back to the line, following multi-timeframe analysis.

Why does the EMA give so many false signals?

Because the EMA is sensitive to the latest price. When the market moves sideways, price and the EMA cross back and forth many times (whipsaw). Use the EMA when there is a clear trend, watch the slope, and be extra careful when the line is flat.

How do I set up the EMA in TradingView?

Click Indicators and search for Moving Average Exponential, set Length, e.g. 20, and Source to close. For more lines, add the indicator again and change the Length. In MT4, use Moving Average and set MA method to Exponential.

See all lessons in the free Forex and gold trading course

Risk warning: Trading Forex, gold and CFDs carries a high level of risk and you may lose money. EMA signals do not guarantee profits. 1TRADER provides information and education to support your own decisions only. Past results do not guarantee future results. Read the full risk disclosure.