21 Nov 2026
You open a chart and see two smooth lines snaking through the candles. Someone on TV says a stock is "above its 200-day". Another says "the 50 just crossed the 200". It sounds important, but nobody explains what the lines are.
Here's the plain answer: a moving average in stock market charts is the average closing price over a set number of days, updated every day. It smooths out daily noise so you can see the trend. The simple moving average (SMA) weights every day equally. The exponential moving average (EMA) gives recent days more weight. The 50-day and 200-day lines are the most watched trend filters.
Prices jump around every day. A moving average takes the last few closing prices, averages them, and plots one point. Tomorrow it drops the oldest day, adds the newest, and plots again. That is why it "moves".
It does not predict anything. It only summarises what price has already done. That one fact explains both its strength (it is calm and clear) and its weakness (it is always late).
If you are new to indicators in general, our guide to stock market indicators every investor should know gives the wider picture. This blog goes deep on one indicator only.
|
Term |
In plain words |
|---|---|
|
Period |
How many days go into the average (for example, 20, 50, or 200) |
|
SMA |
Simple moving average: add the closes, divide by the number of days |
|
EMA |
Exponential moving average: recent closes count more than older ones |
|
Crossover |
When price crosses a moving average, or a short average crosses a long one |
|
Lag |
The delay between a price turn and the moving average showing it |
|
Whipsaw |
Repeated false crossovers when the market moves sideways |
Take a made-up stock, ABC Ltd. Its last five closing prices are ₹100, ₹102, ₹101, ₹105 and ₹107.
The 5-day SMA is (100 + 102 + 101 + 105 + 107) ÷ 5 = ₹515 ÷ 5 = ₹103.
The next day ABC closes at ₹110. The ₹100 day drops out; ₹110 comes in. The new 5-day SMA is (102 + 101 + 105 + 107 + 110) ÷ 5 = ₹105.
Your charting software does this for you. Still, doing it once by hand shows you why the line is smooth: one big day only moves it by a fifth of that day's change.
The EMA uses a multiplier so the newest close counts more. For a 5-day EMA, the multiplier is 2 ÷ (5 + 1) = 0.33.
Start from the earlier average of ₹103. ABC closes at ₹110. The EMA becomes 103 + 0.33 × (110 − 103) = about ₹105.3. The SMA on the same day was ₹105. The EMA moved a little more because it reacts faster to the latest price.
|
Point |
SMA |
EMA |
|---|---|---|
|
How it weights days |
Every day equal |
Recent days count more |
|
Speed |
Slower to turn |
Faster to turn |
|
False signals |
Fewer, but late |
Earlier, but more of them |
|
Commonly used for |
Long-term trend (50-day, 200-day) |
Shorter trades (9, 20, 21-day) |
|
Best suited to |
Investors and positional traders |
Swing traders who want quicker reads |
Neither is "better". A faster line catches turns sooner and gets fooled more often. A slower line is calmer and later. Pick the one that fits your holding period.
These two lines are widely watched, which is partly why they matter. They describe the medium-term and long-term trend.
The long-term trend is up. Many investors use this as a filter: they study stocks above the line and are more careful with those below it.
The long-term trend is weak or down. It does not mean the price will keep falling. It means the burden of proof is on the bulls.
This is often called a "golden cross". The medium-term trend has turned stronger than the long-term trend.
This is often called a "death cross". The medium-term trend has turned weaker. The names are dramatic. The signal is usually late, because both lines are slow.
Risk first. A crossover is not a trade on its own. In sideways markets, prices cross back and forth through the average and give false signals again and again. Each false signal is a small loss plus brokerage and taxes.
That is why the SEBI numbers matter. SEBI's August 2026 study found 87.7% of individual F&O traders made net losses in FY26. Adding a moving average to a chart does not change those odds. A plan with a stop loss and position size might.
Here is a safer way to use moving averages while you learn:
Decide your direction first. If price is below a falling 200-day line, you simply skip long setups on that chart while you practise.
A moving average near a support or resistance level is more meaningful than one in empty space. Read the candles too: our candlestick chart guide covers the basics.
Place your stop loss where your idea is clearly wrong, not where the loss "feels" small.
Mark every crossover on three months of a chart, then note what happened. Then practise in real time with paper trading before you put money in.
|
Market condition |
What moving averages do |
What to watch for |
|---|---|---|
|
Strong trend |
Price stays on one side; signals are clear |
Late entries after a long move |
|
Sideways range |
Price crosses back and forth |
Whipsaws and repeated small losses |
|
Sharp news move |
The line reacts days later |
Gaps that jump past your stop loss |
They lag because they are built from past prices. A 200-day average includes prices from many months ago. It cannot turn until enough new prices replace old ones.
The lag is the price you pay for a clean signal. Shorter averages lag less but whipsaw more. Longer averages lag more but filter noise. There is no setting that removes this trade-off. Anyone who sells you a "perfect" moving average setting is selling certainty that does not exist.
This is where most beginners go wrong: they keep changing the period after every loss, hunting for the magic number. A better use of time is learning when the indicator works (trends) and when it does not (ranges). Our blog on what technical analysis is explains how indicators fit into the bigger method.
At NIWS (National Institute of Wall Street), the Technical Analysis course teaches moving averages alongside support and resistance, candlesticks, volume, and risk rules. You practise on live charts in class, mark levels, and review paper trades after the close. Madan Mourya, with 15+ years in the Indian stock market, teaches at our Jaipur centre.
No course, including ours, can promise you profit. What a course can do is help you read a chart with a plan and a limit on loss. Course duration and batch timings: [confirm with NIWS office].
A moving average is the average closing price over a set period, recalculated every day. SMA treats every day equally. EMA leans towards recent days and turns faster. The 50-day and 200-day lines describe the medium- and long-term trend, and their crossovers are slow but widely watched. Use moving averages as a trend filter, combine them with price levels, set your stop loss first, and test on paper before you trade.
CTA - Book your free 1-day stock market demo class in Jaipur.
+91 99832 13155
Trading and investing in the share market has risk. This blog is for education only. It is not investment advice, and it does not promise any returns.
A moving average is the average closing price of a stock or index over a set number of days, updated daily. It smooths out daily ups and downs so you can see the trend. Common periods are 20, 50 and 200 days.
Neither is better in every case. The EMA reacts faster because it weights recent prices more, so it suits shorter trades. The SMA is slower and calmer, so many investors use it for long-term trends like the 200-day line.
It shows a change in trend strength. When the 50-day rises above the 200-day, it is called a golden cross. When it falls below, it is called a death cross. Both signals are slow, so they confirm a trend rather than predict one.
You can, but it is risky on its own. Moving averages give many false signals in sideways markets. Most traders combine them with support and resistance, volume, and a fixed stop loss, and test the method on paper first.