EMA (Exponential Moving Average)
EMA (Exponential Moving Average)
What is EMA?
The Exponential Moving Average (EMA) is a weighted moving average that gives more importance to recent prices. This makes it respond faster to price changes than the Simple Moving Average (SMA), reducing the lag inherent in all moving averages.
How it works
EMA applies an exponential weighting multiplier to each price:
Multiplier (k) = 2 / (Period + 1)
EMA_today = Close × k + EMA_yesterday × (1 - k)
The first EMA value is seeded with the SMA of the first N bars.
Key features
- Recency bias — recent prices weigh more, so EMA hugs price action more tightly than SMA.
- Less lag — faster reaction to trend changes compared to SMA of the same period.
- Never drops old data completely — older prices decay exponentially but never reach zero weight.
- Industry standard — MACD, Bollinger Bands (optional), and many systems default to EMA.
Trading signals
Trend direction
- Price above EMA — bullish bias.
- Price below EMA — bearish bias.
Crossovers
- Short EMA crosses above long EMA — bullish momentum building.
- Short EMA crosses below long EMA — bearish momentum building.
Pullback entries
- In an uptrend, wait for price to pull back to EMA, then enter long on a bounce.
Parameters
| Parameter | Default | Description | |-----------|---------|-------------| | Period | 20 | Lookback length for the exponential weighting |
Common periods: 9, 12, 21, 26, 50, 100, 200.
Example conditions
| Condition | Meaning |
|-----------|---------|
| close > EMA(50) | Price above medium-term EMA |
| EMA(12) cross_over EMA(26) | Fast EMA crosses above slow — bullish |
| EMA(9) cross_under EMA(21) | Fast EMA crosses below slow — bearish |
| close cross_over EMA(200) | Price reclaims the long-term EMA |
Tips
- EMA(12) and EMA(26) are the standard MACD components — useful standalone too.
- In volatile markets EMA gives earlier signals but also more whipsaws than SMA.
- Combine EMA direction with RSI or Stochastic for entry timing.
- Use EMA on higher timeframes for trend direction and lower timeframes for entry triggers.

