SMA (Simple Moving Average) calculates the arithmetic mean of prices over a specific period, giving equal weight to each data point. It’s the most basic moving average, smoothing price fluctuations to reveal underlying trends. Traders use SMA to identify trend direction, potential support/resistance levels, and crossover signals.
- Sum of prices divided by number of periods
- Equal weight to all price points
- Smoother but slower than EMA
How SMA Works
SMA calculation is straightforward:
SMA Calculation:
SMA = (P1 + P2 + P3 + ... + Pn) / n
10-Day SMA Example:
Closing prices: 100, 102, 101, 103, 105,
104, 106, 108, 107, 109
SMA = (100+102+101+103+105+104+106+108+107+109) / 10
SMA = 1,045 / 10 = ₹104.50
Tomorrow's SMA (if close is ₹110):
Drop 100, add 110
SMA = (102+101+103+105+104+106+108+107+109+110) / 10
SMA = ₹105.50
Quick Reference: SMA Periods
| Period | Timeframe | Use Case |
|---|---|---|
| 9-10 | Very short | Scalping, day trading |
| 20-21 | Short | Swing trading |
| 50 | Medium | Position trading |
| 100 | Longer | Trend confirmation |
| 200 | Long-term | Bull/bear market definition |
Example: Trading with SMA
50 SMA as Support:
| Day | Price | 50 SMA | Analysis |
|---|---|---|---|
| 1 | ₹520 | ₹500 | Above SMA, uptrend |
| 5 | ₹510 | ₹502 | Pulling back |
| 7 | ₹503 | ₹504 | Testing SMA support |
| 8 | ₹498 | ₹505 | Below SMA briefly |
| 9 | ₹512 | ₹505 | Bounced! SMA held |
Trade: Buy near 50 SMA support with stop below.
SMA calculates the average price over a set period, weighting all prices equally. It smooths data to show trends. Use shorter SMAs for active trading, longer SMAs for trend definition. SMA is simple but effective.
SMA vs EMA Comparison
| Feature | SMA | EMA |
|---|---|---|
| Calculation | Simple average | Weighted average |
| Recent Price Weight | Equal | Higher |
| Responsiveness | Slower | Faster |
| Smoothness | Smoother | Less smooth |
| Lag | More lag | Less lag |
| Best For | Long-term trends | Active trading |
SMA Trading Strategies
Trend Direction
- Price above SMA = uptrend
- Price below SMA = downtrend
- SMA slope confirms trend strength
Support/Resistance
- In uptrends, SMA acts as support
- In downtrends, SMA acts as resistance
- Multiple tests strengthen the level
Crossover Signals
- Price crosses above SMA = buy signal
- Price crosses below SMA = sell signal
- Faster SMA crosses slower SMA for confirmation
SMA Limitations
- Lagging – SMA reacts slowly to price changes.
- Equal weighting – Recent prices aren’t prioritized.
- Whipsaws – False signals in ranging markets.
- Not predictive – Shows current state, not future.
Common Mistakes
-
Expecting precision – SMA is a zone, not exact level.
-
Using alone – Combine with price action and other indicators.
-
Fighting the trend – Don’t short above rising SMA or buy below falling SMA.
-
Over-optimizing period – Standard periods work fine; don’t curve-fit.
How JournalPlus Tracks SMA
JournalPlus logs key SMA levels at trade entry, helping you analyze whether SMA-based decisions correlate with successful trades.