rbtrading.site / glossary / ema (exponential moving average)

Trading glossary

EMA (Exponential Moving Average)
a moving average that leans on recent prices.

An exponential moving average (EMA) is a moving average that gives more weight to recent prices than older ones, so it reacts faster than a simple moving average (SMA) of the same length. Traders use EMAs to read trend direction, to find dynamic support and resistance, and to define setups. Common periods include 8, 21, 50 and 200.

The math behind it

k = 2 ÷ (N + 1) EMA today = close × k + EMA yesterday × (1 − k) seed first EMA = simple average of the first N closes

For a 21 EMA, k = 0.0909, so today's close carries about 9% of the weight. For a 200 EMA, k is about 1%, which is why it moves so slowly.

An example with numbers

A 21 EMA reads 100.00 yesterday. Today closes at 103.30.

k = 2 ÷ 22 = 0.0909 EMA = 103.30 × 0.0909 + 100.00 × 0.9091 = 9.39 + 90.91 = 100.30

A 3.3 point jump in price moves the EMA by 0.3. A 21-period SMA moves by (today's close − the close that drops out of the window) ÷ 21, so it can lurch when an old extreme bar leaves. The EMA never drops a bar suddenly, it just lets old prices fade.

Mistakes to avoid

What the journal does with it

The backtester chart has an Indicators panel with EMA, SMA, WMA, Bollinger and RSI overlays. You set the period and colour of each, and they are computed live from the candles without revealing future bars. Tag your EMA setups and the journal's per-setup stats show whether they actually pay.

See your own EMA from real trades

Stop estimating it in a spreadsheet. Log or sync your trades and the journal keeps the number current after every close.

Start free, no card

Related terms and tools

Average True Range (ATR) Stop-Loss Risk-Reward Ratio Expectancy Trade replay R-Multiple Calculator
By RB Trading · Last updated 8 October 2026 · Back to the full glossary