Back to Trend & Moving Averages
Trend & Moving Averages
21-Day EMA
A 21-period exponential moving average β the standard slow line in the 9/21 EMA crossover system. Captures roughly one month of trend with more weight on recent prices.
β Why It Matters
The 21EMA defines the medium-term trend in many swing systems. When the 9EMA is above the 21EMA, the market is considered bullish; when below, bearish.
π The Formula
21D_EMA = EMA of Close over 21 periods, with Ξ± = 2 Γ· (21 + 1) = 0.0909
π Data Sources
Yahoo Finance, NSE
π¬ How We Compute It
Pandas ewm with span=21, adjust=False.
π How to Read It
- 9EMA above 21EMA β bullish regime.
- 21EMA as support in uptrend β continuation expected.
- 21EMA breaking down β trend change warning.
β οΈ Common Mistakes
- Treating 21EMA as a hard floor β supports can break.
- Not adjusting expectations by volatility.
π Related Metrics
Stockenza Method Β· Updated 2026-10-14 Β· Educational use only
