Initializing terminal quote pipeline...

Command Palette

Search for a command to run...

Moving Average (SMA)

beginner
7 min read
Updated 2026-07-13
Reviewed by SST Editorial
A Simple Moving Average (SMA) is an indicator that calculates the average price of an asset over a specific number of past periods. It is calculated by adding the closing prices for 'N' periods and dividing by 'N'. As new data arrives, the oldest price is dropped, causing the average to move along the chart. It acts as a lagging indicator of trend direction and serves as dynamic support or resistance.

Key Takeaways

  • 01.An unweighted average of closing prices over a specified number of periods.
  • 02.Smooths out short-term price fluctuations to show the underlying trend.
  • 03.Key institutional SMAs are the 50-day (medium-term) and 200-day (long-term) averages.
  • 04.Crossovers of key SMAs (e.g. 50-day crossing 200-day) form popular signals like the Golden Cross (bullish) and Death Cross (bearish).

Why it matters

SMAs are widely watched by institutional investors. When a major stock pulls back to its 200-day SMA, buy orders often cluster there, creating a self-fulfilling support floor. It provides a simple, objective way to categorize whether a stock is in a bull or bear regime.

When it matters

It is relevant across all liquid markets to identify macro trends. It holds less value in highly illiquid stocks, where individual trades can distort the average.

๐Ÿ“Š
Visual Reference: diagram

A smooth line overlaying the price action, tracking the general direction of the trend.

Interactive Tool: terminal-embed

Select 50-day and 200-day SMA indicators to overlay on your chart.

Common Mistakes

Expecting immediate support on the first touch

A moving average is a zone, not a brick wall. Price will frequently overshoot or temporarily breach the SMA before finding support, so placing a stop-loss directly on the SMA often leads to premature exits.

๐Ÿ“– Real-World Example: A Golden Cross event

In mid-2020, a major technology index saw its 50-day SMA cross above its 200-day SMA (Golden Cross) after recovery from a crash. This signaled the transition to a long-term bull market, which lasted for over 18 months.

Further Reading