INDICATORS · EMA

EMA in Crypto: Why the Value Changes Before Candle Close

An exponential moving average weights the newest close most. That makes the live-bar EMA respond faster than an SMA — and change more before the close.

Short answer

EMA = α × price + (1 − α) × previous EMA, with α = 2 ÷ (N + 1). For a 20-EMA, α ≈ 0.095, so about 9.5% of the live price enters the value. Inside the live bar the EMA moves by α times the price change: a $500 intrabar swing moves a 20-EMA by about $48. Price crossing the EMA intrabar is the usual source of vanishing crossover signals. Compare live crosses with closed-bar crosses before trusting them.

Which part of EMA uses the live bar

ComponentUses current bar?Effect intrabar
Previous EMANoFixed
α × live priceYesMoves α × price change
Price vs EMAYesCrosses can vanish

The α weight is why shorter EMAs move more intrabar: α is 0.33 for a 5-EMA, 0.095 for a 20-EMA and about 0.01 for a 200-EMA.

Test EMA in Crypto on a perpetual chart; no account is needed to chart.

Launch ChartsPod

How much it moves inside one bar

EMA during one bar (illustrative)EMA during one bar (illustrative): OPEN: Price 60,000; EMA 59,950; MID: Price 59,500: EMA ≈ 59,907, price below; LATE: Price 60,200; CLOSE: Price 60,100; EMA ≈ 59,964.OPENPrice 60,000; EMA 59,950MIDPrice 59,500: EMA ≈ 59,907,price belowLATEPrice 60,200CLOSEPrice 60,100; EMA ≈ 59,964
Only EMA's closing value is kept in history. Original ChartsPod editorial graphic.
Illustrative intrabar range of EMA vs its closed valueIllustrative intrabar range of EMA vs its closed value: 5-EMA α 0 ; 20-EMA α 0 ; 200-EMA α 0 .ILLUSTRATIVE INTRABAR RANGE OF EMA VS ITS CLOSED VALUE5-EMA α020-EMA α0200-EMA α0
How far EMA travels inside a bar versus between bars. Original ChartsPod editorial graphic.

Rules

EMA signal hygieneEMA signal hygiene: Signals on closed bars; Bar-close alerts; Backtest uses the same rule; Live value labelled provisional; Settings identical across chart and alerts.EMA SIGNAL HYGIENESignals on closed barsBar-close alertsBacktest uses the same ruleLive value labelled provisionalSettings identical across chart and alerts
Closed values are what history shows. Original ChartsPod editorial graphic.

Worked: 0.095 × $500 ≈ $48 intrabar EMA move for a 20-EMA. Related: SMA in Crypto: Why the Value Changes Before Candle Close (SMA).

See EMA in Crypto on live data in the free ChartsPod terminal.

Open the ChartsPod terminal

Questions readers ask

How much does the EMA move inside a bar?

About α × the price change; α = 2/(N+1).

Which EMAs move most?

Short ones.

Are EMA crosses final intrabar?

No; use closed bars.

Sources and methodology

Indicator formulas are standard definitions; live-versus-closed behaviour follows TradingView's repainting documentation. Values in examples are illustrative.

  1. TradingView Pine Script: Repainting — live vs historical calculation.
  2. ChartsPod indicator reference — indicator calculations.

This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.

CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.