Which EMA is best for swing trading?
Most swing traders use the 20 EMA for entry timing and the 50 EMA for the trend, with the 200 EMA as a big-picture filter. Price above a rising 20 and 50 EMA suggests an uptrend, and pullbacks toward the 20 EMA can offer entries. No EMA works alone in sideways markets.
- 1Try the 9/21 preset, then 20/50, then 50/200. Count the crossovers each time.
- 2Drag the fast EMA towards the slow one. The closer they are, the more signals — and the more false ones.
- 3Find a crossover during the sideways patch. Did price follow through?
What an EMA is
An exponential moving average (EMA) is an average of closing prices that gives more weight to recent days. A 20 EMA on a daily chart roughly follows the last 20 sessions, but reacts faster than a simple average of the same length.
Each day the EMA moves a fixed fraction of the way toward the new close. For a 20 EMA that fraction is 2 ÷ (20 + 1), about 9.5%. Shorter EMAs use a bigger fraction, so they hug price more closely and turn sooner.
- Yesterday's 20 EMA
- ₹400.00
- Today's close
- ₹410
- Today's EMA
- ₹400 + 0.095 × (₹410 − ₹400) ≈ ₹400.95
- Tomorrow's close
- ₹420
- Tomorrow's EMA
- ₹400.95 + 0.095 × (₹420 − ₹400.95) ≈ ₹402.76
Price jumped ₹20 in two days, but the EMA moved under ₹3. That slowness is the point: the average ignores one-day noise and only turns when the move lasts.
EMA or SMA?
A simple moving average (SMA) gives every day in the window equal weight. An EMA gives recent days more. On a calm trend they look almost the same; around sharp turns, the EMA turns first.
| EMA | SMA | |
|---|---|---|
| Weighting | Recent closes count more | All closes count equally |
| Reaction to a turn | Faster | Slower |
| False signals | A few more | A few fewer |
| Common use | 20 and 50 EMA for swing timing and trend | 50 and 200 SMA for the long-term picture |
The difference matters far less than using one consistently. Many Indian charting platforms show both; pick the one you'll stick with and learn how your stocks behave around it.
20, 50 and 200: what each one does
| EMA | Job | How to read it |
|---|---|---|
| 20 EMA | Timing | In a strong uptrend, pullbacks often pause near it. |
| 50 EMA | Trend | Price holding above a rising 50 EMA means the medium-term trend is up. |
| 200 EMA | Filter | Above it, favour buying. Below it, be more careful or stay out. |
When the 20 is above the 50, the 50 is above the 200 and price is above all three, the EMAs are stacked. That's the cleanest picture of an uptrend.
EMA crossovers: 9/21, 20/50 and 50/200
A crossover happens when a faster EMA crosses a slower one. Fast pairs like 9 and 21 cross often and catch moves early, but give many false signals. Slow pairs like 50 and 200 cross rarely and late — the 50 crossing above the 200 is called a golden cross, and below it a death cross.
Try the presets in the lab above. You'll see the 9/21 pair cross many times in the same stretch where 20/50 crosses only a few times. Faster isn't better; it's just noisier.
Crossovers lag price, because averages are built from past closes. Treat them as confirmation, not as the reason to trade.
Using the 20 EMA for entry, stop and target
- Trend
- Price above a rising 20 and 50 EMA
- Pullback
- Price dips to ₹410, near the 20 EMA
- Entry
- ₹418, above a strong green candle
- Stop-loss
- ₹398, below the recent swing low — not on the EMA itself
- Target
- ₹458, the previous high (twice the ₹20 risk)
The risk is ₹20 a share and the reward ₹40, a 1:2 risk-reward. The EMA helped with timing; the swing low decided the stop.
Stops placed exactly on an EMA get hit by ordinary noise. Put them below structure instead — see where to place a stop-loss.
A 20 EMA pullback checklist
This is one simple way to use EMAs in a written plan. The settings are illustrative; the order of the checks matters more than the exact numbers.
- 1Trend: price above the 50 EMA, and the 50 EMA sloping up. If it's flat, skip.
- 2Big picture: price above the 200 EMA, so the long-term trend agrees.
- 3Pullback: price eases back toward the 20 EMA on lighter volume, ideally near a support level.
- 4Trigger: a strong close back up, away from the EMA.
- 5Stop: below the pullback's swing low, not on the EMA line.
- 6Size: shares from the stop distance with the position size calculator.
- 7Target: the previous swing high or the next resistance, at least about 1 : 2.
Exiting with an EMA
EMAs can also help you get out. Once a trade is working, some traders hold as long as the stock closes above the 20 EMA, and exit after a daily close below it. A close, not an intraday poke, keeps you from reacting to every wiggle.
A 20 EMA exit stays close to price, so it locks in more of the move but gets shaken out more often. A 50 EMA exit gives the trade more room and gives back more at the end. Neither is right for everyone; choose before the trade, and write it in your plan.
In a fast, extended move, price can run far above the 20 EMA. That gap often closes later, either by price pulling back or by the EMA catching up. Buying far above the 20 EMA means a wider stop and less room to your target.
When EMAs fail
- Sideways markets: price crosses the EMAs again and again, and every crossover reverses.
- Thinly traded stocks: gaps and erratic candles make averages meaningless.
- News spikes: a sudden jump says nothing about a lasting trend.
- Weak overall market: a stock above its EMAs can still fall when the whole market does.
If the EMAs are flat and tangled, there's no trend to follow. Wait, or use support and resistance instead.
Quick check
Key terms
- EMA
- Exponential moving average: an average of closes that weights recent days more heavily.
- Crossover
- When a faster moving average crosses above or below a slower one.
- Golden cross
- The 50-day average crossing above the 200-day average, read as a long-term bullish sign.
- Stacked EMAs
- Shorter EMAs above longer ones with price above all of them — a clean uptrend.
Common questions
Is the 9 EMA good for swing trading?
Usually it's too fast. It suits intraday trading better. On the daily chart, the 20 EMA gives cleaner pullback signals.
What is the 20 50 EMA strategy?
Trade only when the 20 EMA is above the 50 EMA and both are rising, and look for entries when price pulls back toward the 20 EMA near support.
Should I use EMA or SMA for swing trading?
Either works. EMAs react a little faster to recent prices, which many swing traders prefer. Pick one and stay consistent.
Does the 200 EMA matter for swing trades?
As a filter, yes. Many traders only take long swing trades when price is above the 200 EMA, because the bigger trend is on their side.
Is a golden cross a buy signal?
Not on its own. The 50 crossing the 200 happens late, often after much of the move. Many traders treat it as a sign the long-term trend has turned, then look for a pullback entry with a clear stop.
Which EMA works best on the daily chart?
The 20 and 50 EMA are the most common pair on daily charts for swing trading, with the 200 as a filter. These are illustrative choices; what matters is using the same ones consistently.
How far from the 20 EMA is too far to buy?
There's no fixed number, but compare the gap with the stock's ATR. If price is several ATRs above the 20 EMA, the stop gets wide and a pullback is more likely before the next leg up.
Can I use an EMA as my stop-loss?
You can use it as a guide, not as the exact stop. Price often dips through an EMA for a day and recovers. A safer way is to place the stop below the swing low that sits near the EMA, then size the trade so that stop costs only your planned risk.
Swing trading ke liye kaun sa EMA best hai?
Zyadatar traders 20 EMA entry timing ke liye, 50 EMA trend ke liye aur 200 EMA bade trend ke filter ke roop mein use karte hain. Sideways market mein koi bhi EMA kaam nahi karta.
Keep going
Education only — not investment advice. Trading in the stock market carries risk. Charts on this page use made-up prices for practice — they are not real stocks or recommendations. Examples are for learning only.
