What is Moving Average?
A moving average is the average closing price over a fixed number of recent periods, recalculated each period so it moves with the market. It smooths out daily noise and shows the direction of the trend. The common types are the simple (SMA) and exponential (EMA) average.
Also called: MA, SMA, EMA, 20 day moving average
NIFTY futures: RSI, moving averages, Bollinger bands, VWAP
NIFTY futures closed at 25,369.50: RSI(14) is 76.2, the 20-day average is 24,543.11 and the 50-day 23,579.86. The Bollinger bands (20, ±2 SD) run from 22,548.32 to 26,537.89.
| Indicator | Value |
|---|---|
| Close | 25,369.50 |
| RSI (14) | 76.2 |
| 20-day moving average | 24,543.11 |
| 50-day moving average | 23,579.86 |
| 200-day moving average | 24,040.39 |
| Bollinger upper (20, +2 SD) | 26,537.89 |
| Bollinger lower (20, −2 SD) | 22,548.32 |
| Session VWAP | 25,681.36 |
Daily candles of continuous near-month NIFTY futures. Simple RSI over the last 14 sessions.
NIFTY futures chart →How it works
A simple moving average (SMA) adds the last N closing prices and divides by N. A 20-day SMA uses the last 20 trading days. Each new day, the newest close enters and the oldest drops out. An exponential moving average (EMA) gives more weight to recent closes, so it reacts faster to new moves; the weight on the latest close is 2 / (N + 1). Short averages, such as 20 days, follow price closely. Long averages, such as 50 or 200 days, move slowly and show the bigger trend.
Because they are built from past prices, all moving averages lag. A longer average lags more but gives fewer false turns. A shorter average reacts quickly but flips more often in choppy markets.
Worked example. suppose NIFTY futures closed at 24,000, 24,100, 24,200, 24,150 and 24,300 over five days. The 5-day SMA is (24,000 + 24,100 + 24,200 + 24,150 + 24,300) / 5 = 1,20,750 / 5 = 24,150. The next day NIFTY closes at 24,400, and the oldest close, 24,000, drops out: (24,100 + 24,200 + 24,150 + 24,300 + 24,400) / 5 = 1,21,150 / 5 = 24,230. The price jumped 100 points, but the average rose only 80.
Reading today's live example
The live example above shows NIFTY futures' 20-day and 50-day averages along with the 14-day RSI. Check three things: whether price is above or below each average, whether the 20-day is above the 50-day, and how far apart they are. Price above both, with the 20-day above the 50-day, describes an up-trend. Price below both, with the 20-day below the 50-day, describes a down-trend. When price keeps crossing back and forth through the averages, the market is moving sideways and the averages tell you less.
How traders use it
Traders use averages as trend filters, for example only considering bullish option structures when price is above the 50-day average. A crossover, when a shorter average moves above or below a longer one, is a widely watched event. A 50-day average crossing above the 200-day is often called a golden cross, and the reverse a death cross. Some traders use the distance between price and its average to judge how stretched a move is. Moving averages are tools, not signals.
Common mistakes
A common mistake is expecting a crossover to catch the start of a move. By the time two averages cross, a good part of the move has often happened. Another is relying on averages in a range-bound market, where they give repeated false crossovers. A third is comparing an average on futures with one on the cash index; around expiry and rollover, the futures premium can shift the numbers.
Frequently asked questions
What is moving average in simple words?
It is the average price over the last few days, updated every day. Plotting it as a line smooths out daily ups and downs so you can see whether the price is broadly trending up, down or sideways.
What is the difference between SMA and EMA?
An SMA gives every day in the period equal weight. An EMA gives more weight to recent days, so it reacts faster when price changes direction. The EMA turns sooner but can also give more false turns.
What is 200 DMA?
The 200-day moving average is the average closing price of the last 200 trading days. It is widely watched as a long-term trend line. Price above it is generally read as a long-term up-trend, and below it as a down-trend.
Which moving average is best for intraday?
There is no single best one. Intraday traders often use short averages on 5- or 15-minute charts, or VWAP, but each setting trades speed against false signals. Testing a rule on past data helps show how it has behaved.
Related terms
Go deeper
For education only; not investment advice. Live figures from NSE via Quantsapp. Derivatives trading carries substantial risk. Disclaimer