⚙️ BUILT-IN
Exponential Moving Average (EMA)
A weighted moving average that gives more importance to recent prices. Reacts faster to price changes than SMA. Used for trend direction, dynamic support/resistance, and crossover signals.
3.1MUses
21500Likes
0Comments
Live Demo — Exponential Moving Average (EMA) applied to NIFTY 50 (illustrative)
PriceEMA(9)EMA(21)SMA(20)
What is EMA?
The Exponential Moving Average is a type of moving average that places greater weight on the most recent data points, making it more responsive to new price information compared to a Simple Moving Average (SMA).
The three most common EMAs used in trading:
- EMA 9 — Very fast, best for short-term entries on intraday charts
- EMA 21 — Medium-term momentum and trend filter
- EMA 50 — Key trend direction filter; often used as dynamic support/resistance
- EMA 200 — Long-term trend; the most watched moving average by institutional traders
Formula
Multiplier = 2 / (N + 1)
EMA today = (Close – EMA yesterday) × Multiplier + EMA yesterdayWhere N is the period length.
Parameters
| Parameter | Default | Description |
|---|---|---|
| Length | 9 / 21 / 50 | Lookback period |
| Source | Close | Price input (can use OHLC4, HLC3, etc.) |
Signal Interpretation
- Price above EMA → Bullish bias; EMA acts as dynamic support
- Price below EMA → Bearish bias; EMA acts as dynamic resistance
- EMA 9 crosses EMA 21 upward → Short-term bullish signal (Golden Cross on short timeframe)
- EMA 50 crosses EMA 200 upward → Major Golden Cross — long-term bullish trend begins
- EMA 50 crosses EMA 200 downward → Death Cross — long-term bearish signal
- Slope of EMA → Rising = bullish momentum; Flattening = momentum fading
The EMA Ribbon
The NixPulse EMA Ribbon plots EMA 9, 21, 50, and 200 simultaneously. When the ribbon is:
- Ordered and spread out (9 > 21 > 50 > 200) → Strong uptrend
- Compressed → Trend consolidating or transitioning
- Inverted (9 < 21 < 50 < 200) → Strong downtrend
Trading Strategies
- EMA crossover: 9/21 cross for swing entries; 50/200 cross for position trades
- EMA bounce: In a trend, wait for price to pull back to EMA 21 or 50 and bounce — high-probability continuation
- Three-EMA trend filter: Only trade longs when 9 > 21 > 50; only shorts when 9 < 21 < 50
Tips & Best Practices
- EMA is a lagging indicator — it will never give perfect entries. Use it to define the trend, not predict it.
- The longer the period, the more reliable but the more lag.
- EMA 200 on the daily chart is watched by millions of traders — it becomes a self-fulfilling prophecy.
- Combine with RSI or MACD for entry timing after EMA confirms direction.
