SMA (Simple Moving Average)
The simple moving average is the unweighted mean of a stock's closing prices over a chosen number of sessions, smoothing daily noise into a single line that shows where price has been trading.
The SMA answers one question with no cleverness at all: what has the average close been over the last N sessions? Every bar in the window counts equally, so a 50-day SMA is simply the sum of fifty closes divided by fifty. That equal weighting is both its virtue and its cost — it is transparent and hard to misread, but a price shock from seven weeks ago moves today's 50-day line exactly as much as yesterday's close does.
On end-of-day NSE data the standard periods carry the standard meanings: the 20-day tracks the swing trend, the 50-day the intermediate one, and the 200-day is the line many institutional mandates treat as the boundary between a holding and a problem. Traders screen for price above a rising 200-day as a health check, for the 50 crossing the 200 as a regime marker, and for the averages stacked in order as the cheapest definition of a trend in good shape.
The failure mode is lag, and it is not small. An average of the last 200 closes is, by construction, a statement about the past — by the time price crosses it, much of the move has happened, and in a sideways market price saws back and forth across every SMA, generating crosses that mean nothing. The SMA locates the trend; it is a poor tool for timing entries into one.
Against its siblings, the SMA is the reference everything else is measured from. The EMA answers the same question with more weight on recent bars; the WMA, HMA and TEMA each trade some smoothness for less lag. In Sift the SMA is also the only indicator that accepts any period — sma(37) works — where the others are limited to their precomputed ones.
In Sift
Written as sma(20) — any period accepted; 5, 10, 20, 50, 100, 200 precomputed. A working scan — stocks with price above stacked 20, 50 and 200-day averages — a trend in good order:
where close > sma(20) > sma(50) > sma(200)1
of the 500 most-traded NSE stocks match today, as of 20 Aug 2026
Scans that use it
Prebuilt scans in the library whose query reads this value — each with a hit-rate replay over the last 250 sessions.
Volume breakout
Twice normal volume with price up more than 3% — something changed today.
Crossing above the Ichimoku base
Price reclaiming the Kijun-sen while the medium-term trend still points up.
Aroon uptrend
Aroon-up above 70 with Aroon-down below 30 — a new high made recently and no new low in sight.
OBV at a six-month high
Cumulative volume flow at a new high while the trend holds — accumulation leading price.
RSI oversold turning up
RSI crossing back above 30 in the last three sessions while the stock still holds its 200-day average — a pullback, not a collapse.
RSI overbought
RSI above 70 while the stock is still trending — stretched, and worth knowing about either way.
Golden cross
The 50-day average crossing up through the 200-day.
Death cross
The 50-day average crossing down through the 200-day.
Bounce off the 200-day
Yesterday closed below the 200-day average, today closed back above it.
Williams %R oversold
Williams %R below -80 while the 200-day still holds — Chartink's oversold staple.
Money flow oversold
Money Flow Index under 20 — RSI's volume-weighted cousin, at an extreme.
Heikin-Ashi turns green
The first green Heikin-Ashi candle after a red one, on rising volume.
RSI reclaiming 50
RSI crossing back above its midline in a stock that never lost its long-term trend.
CCI oversold turn
CCI back above −100 within the last two sessions, in a stock still above its 200-day.
Stochastic RSI oversold
The fastest oversold oscillator there is, pinned below 20 in a long-term uptrend.
Force index turning positive
Elder's force index crossing above zero — price change and volume agreeing the dip is done.
9/21 EMA crossover
The 9-day EMA crossing above the 21 in a stock still above its 200-day — the swing trader's golden cross.
Broke below the 200-day average
Crossed under the 200-day moving average within the last three sessions — the line everyone watches, failing.
Stacked moving averages
Price above the 20, which is above the 50, which is above the 200. A trend in good order.
Strong but not overbought
Three-month gains with RSI still under 65 — room to run without chasing.
Ten sessions above the 20-day
Price that has not closed below its 20-day average in two weeks. Persistence, not a single good day.
Strong directional trend
ADX above 30 with buyers in control and the averages stacked — a trend worth trading.
Rate of change leaders
Ten percent rate of change with RSI still under 70 — acceleration, not exhaustion.
Three-month leaders
Up more than 30% in a quarter and still above the 50-day — the current cycle's leaders.
Pullback in an uptrend
RSI under 40 in a stock still above its 200-day — weakness for sale inside strength.
Above a rising 200-day average
The plain health check: price above the 200-day, and the 200-day itself climbing.
MACD zero-line cross
The MACD line itself crossing above zero — the 12-day average overtaking the 26-day.
Quiet accumulation
High delivery on ordinary volume while the stock grinds above its 50-day average — accumulation without a headline.
Sustained delivery
Delivery above 55% for five sessions running — a steady hand rather than one unusual day.
Money flow accumulation
Chaikin Money Flow positive, price above the 50-day, and delivery confirming it.
Delivery percentage rising
Three straight sessions of climbing delivery in a stock holding its 20-day average.
OBV rising streak
Five straight sessions of net volume inflow — the tape voting yes all week.
Bollinger squeeze
Bands within 8% of the middle — compressed ranges that usually resolve with a move.
Up 15% in a month
A decisive one-month advance, still trading above its 50-day.
Narrow range day
A day's range under half the stock's own ATR — the coil before the spring.
NR7 — narrowest range in seven
Today's high-low span is the tightest of the last seven sessions.
Volatility contraction near highs
Coiled within 5% of the 52-week high with Bollinger width under 0.08 — the VCP shape, as a scan.
Bullish engulfing at support
An engulfing candle forming while the stock sits on its 50-day average.
Three white soldiers
Three strong up-closes in a row above the 50-day — sustained buying, not a spike.
Doji on heavy volume
An indecision candle on above-average volume while the trend still holds.
Inside bar in an uptrend
A contracted range inside yesterday's, while the larger trend still points up.
Futures at a premium
The front-month future paying more than half a percent over cash, in an uptrend — leverage leaning long.
Put writers underneath
Heavy put open interest under an uptrend — option sellers paid to defend the levels below.
Promoters buying
Promoter stake up over half a percentage point last quarter, in a stock holding its long-term trend.
High promoter holding in an uptrend
Promoters holding over 70% and the price above its 200-day average — tight float, aligned owners.
Low PE in an uptrend
Stocks under fifteen times trailing earnings, holding above the 200-day — cheap, and no longer ignored.
IT stocks in an uptrend
The Information Technology sector filtered to names above the 200-day with momentum intact.
Commodity stocks above the 200-day
The commodities macro-sector filtered to long-term uptrends — a cycle scan in one line.
Common questions
Which SMA period is best for the daily chart?
There is no best, only conventions with different jobs. The 20-day tracks the swing trend, the 50-day the intermediate trend, and the 200-day the long-term regime. Shorter periods hug price and whipsaw more; longer ones lag more. The honest approach is to test the period against your holding horizon — every scan here can be replayed against past sessions to check its hit rate.
What does it mean when price crosses above the 200-day SMA?
It means the current price has moved above the average close of the last 200 sessions — roughly a trading year. Traders read it as a change of long-term regime, partly because so many funds and systems watch the same line that the level defends itself. It is a slow, confirming signal: by the time it fires, the turn is usually weeks old.
Is the SMA better than the EMA?
Neither is better; they weight time differently. The SMA treats all bars in the window equally, so it is smoother and slower. The EMA weights recent bars more, so it turns earlier and whipsaws more. For long regime filters like the 200-day the difference is small; for short-period signals it is material, and testable.