QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Options glossary

What is Exponential Moving Average (EMA)?

An exponential moving average (EMA) is an average of past prices that gives more weight to recent closes. Each day, EMA = previous EMA + k x (close - previous EMA), where the multiplier k is 2/(n+1) for an n-period EMA.

Also called: EMA, exponential moving average, EMA indicator, 9 EMA 21 EMA

Live example25 Nov 2026

9 and 21-day EMA of NIFTY futures

NIFTY futures closed at 26,040.50, above its 9-day EMA (25,429.19) and above its 21-day EMA (24,794.80). The 9-day EMA last crossed above the 21-day on 2 Nov 2026. The 20-day simple average is 24,706.30 - the EMA reacts faster because it weights recent closes more.

SessionClose9-day EMA21-day EMA20-day SMA
25 Nov26,040.5025,429.1924,794.8024,706.30
23 Nov25,369.5025,276.3624,670.2424,543.11
20 Nov25,775.3025,253.0724,600.3124,413.00
19 Nov25,533.0025,122.5224,482.8124,253.06
18 Nov25,239.3025,019.9024,377.7924,111.98
17 Nov25,415.3024,965.0524,291.6423,987.18

EMA multiplier = 2 ÷ (n + 1), seeded with the simple average. Daily closes of continuous NIFTY futures.

NIFTY futures chart →
ChartNIFTY futures with its 9-day and 21-day EMA
22,00023,00024,00025,00026,00027,00020 May26 Jun3 Aug10 Sep18 Oct25 Nov
22,00023,00024,00025,00026,00027,00020 May22 Jul23 Sep25 Nov
Close9-day EMA21-day EMA
How to read this chart: The faster 9-day EMA hugs the price; the 21-day EMA moves more slowly. When the fast one crosses above the slow one the short-term trend has turned up, and vice versa. Crossovers lag the price and give false signals in sideways markets.

How it works

A simple moving average (SMA) gives every close in its window the same weight, and the oldest close drops out completely each day. An EMA updates itself instead. EMA today = EMA yesterday + k x (close today - EMA yesterday), where k = 2 / (n + 1). For a 9-day EMA, k = 2 / 10 = 0.2, so today's close carries 20% of the weight. For a 21-day EMA, k = 2 / 22, about 0.091, or roughly 9%.

Because recent prices count more, an EMA turns faster than an SMA of the same length after a sharp move. Older prices never fully drop out; their weight just keeps shrinking. The first EMA value is usually seeded with an SMA of the first n closes, so the earliest values depend a little on that starting point, and two platforms can show slightly different EMAs.

Worked example. take a 9-day EMA, where k = 2 / (9 + 1) = 0.2. Suppose yesterday's 9-day EMA of NIFTY futures was 24,000 and today's close is 24,250. Today's EMA = 24,000 + 0.2 x (24,250 - 24,000) = 24,000 + 50 = 24,050. A 21-day EMA also at 24,000, with k = 2 / 22, about 0.09, would move only about 0.09 x 250 = 23 points, to roughly 24,023. The shorter EMA follows the new close more closely.

Reading today's live example

The live example above shows NIFTY futures' 9-day and 21-day EMAs, the latest close and the 20-day simple average, plus the date of the last crossover between the two EMAs. Compare the close with each line first. A close above both EMAs means price is above its recent weighted average on both short and medium horizons; a close below both means the reverse. Then look at the two EMAs: the 9-day above the 21-day describes recent strength, and the last crossover date shows when that relationship last changed. Setting the 20-day SMA beside the 21-day EMA shows how much faster the EMA reacts after a big move.

How traders use it

Traders use EMAs as a quick read of trend direction. A common setup watches a short EMA crossing a longer one, such as 9 over 21, as a sign that short-term momentum has shifted. Others treat a rising EMA as a moving support area in an up-trend and watch whether pullbacks hold near it. MACD itself is built from two EMAs. On intraday charts, EMAs on 5- or 15-minute candles are popular for NIFTY and BANKNIFTY futures because they react quickly. Option traders usually apply EMAs to the underlying, not to option premiums. An EMA is a tool, not a signal.

Common mistakes

The faster response cuts both ways. In a choppy range, a 9-day EMA flips above and below price many times, and EMA crossovers produce repeated false starts. Another mistake is comparing an EMA on one screen with an SMA on another and expecting the same number. A third is forgetting that every moving average lags: an EMA reacts sooner than an SMA, but it still only describes what has already happened.

Frequently asked questions

What is EMA in simple words?

EMA is an average price line that cares more about the latest days than older ones. When price jumps, the EMA moves toward it faster than a plain average would.

What is the difference between EMA and SMA?

An SMA weights every close in its window equally and drops the oldest each day. An EMA gives recent closes more weight using the multiplier 2/(n+1), so it reacts faster to new prices but also turns falsely more often.

What do 9 EMA and 21 EMA mean?

They are exponential moving averages over 9 and 21 periods. The 9 above the 21 describes short-term strength; the reverse describes weakness. A cross between them is called an EMA crossover. It describes the past; it does not predict.

Which EMA is best for intraday trading?

There is no best setting. Short EMAs such as 9 or 20 on 5-minute or 15-minute candles are common, but shorter settings react faster and give more false crosses. Testing a setting on past data shows how it would have behaved, not how it will.

← All glossary terms

For education only; not investment advice. Live figures from NSE via Quantsapp. Derivatives trading carries substantial risk. Disclaimer

Log in or sign up

Enter your mobile number. New to Quantsapp? The same OTP creates your free account.

+91

Have a password?

By continuing you agree to the Terms of Use and Privacy Policy.