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.
Learn more on the blog
Deep-dive articles explaining this indicator and how to trade it.
SuperTrend vs EMA crossover: we tested both on 50 coins so you don't have to argue about it
Two of the most popular trend-following systems, identical conditions, fifty crypto pairs, an out-of-sample honesty check — and a scoreboard that isn't close this month.
EMA vs SMA: which actually wins on crypto?
Everyone has an opinion. Few have run the numbers. Here's the head-to-head on 4h BTC/USDT across multiple regimes, with the formula, the trade-offs, and when to pick which.
Which crypto strategy families survive out-of-sample? All 10, ranked
We tuned ten classic strategy families on twenty coins, then ran each tuned winner once on data it had never seen. Only two families kept a positive median edge. Here is the full ranking — including the three that were negative before fees even bit.
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.