EMA
Exponential moving average — trend, reacts faster than SMA.
What it is
Exponential moving average — trend, reacts faster than SMA.
The exponential moving average (EMA) is a recursive average that updates by blending today's close into yesterday's EMA via a smoothing factor α = 2 / (N + 1). Older observations decay exponentially rather than dropping off a fixed window, so the EMA reacts faster to new price action than the equivalent-length SMA.
EMAs are the building block for many other indicators: MACD is the difference of two EMAs, the signal line is an EMA of MACD, and many strategies use a 9 / 21 / 50 EMA stack to gauge short- vs. medium-term trend.
The trade-off versus SMA: faster response in trending markets, but more whipsaws in chop. The smoothing factor α is unitless — the same EMA(20) on 1-minute bars and on daily bars uses the same recursion.
EMA_t = α · P_t + (1 - α) · EMA_{t-1}, where α = 2 / (N + 1)Read the full Exponential moving average (EMA) definition in the glossary →
Live chart
BTC/USDT on Binance with this indicator pre-loaded. Powered by TradingView.
Chart by TradingView. Built-in study shown for illustration; the Noon Barbari engine computes its own values.
Parameters
| Parameter | Default | Range |
|---|---|---|
| Period | 20 | 2 – 800 |
Output fields
The named values this indicator exposes to your entry and exit rules.
Related strategies
Ready-made, runnable templates that use this indicator. Open one to inspect or backtest it.
EMA fast/slow crossover strategy
Catch sustained moves by going long when the fast EMA crosses above the slow EMA.
EMA breakout with ATR sizing strategy
Cross above a 20-bar EMA, trail the position with ATR-aware stop bands.
RSI dip with trend filter strategy
Buy oversold RSI dips, but only when price is still above the 50 EMA.
Backtest this indicator
Drop this indicator into a rule-set, run it over years of BTC/USDT data, and see whether the edge is real or just curve-fit — no credit card required.