What are moving averages and how do traders use them?
Moving averages smooth out price data over a defined period to reveal the underlying trend. They're among the most widely used tools in technical analysis — both as standalone trend indicators and as building blocks for signals like the Golden Cross and MACD.
Simple Moving Average (SMA)
The Simple Moving Average (SMA) is the arithmetic mean of closing prices over a defined period. SMA 20 = average of the last 20 closing prices. SMA 50 = average of the last 50. SMA 200 = average of the last 200 (roughly one calendar year of trading days). Each period gives a different view: SMA 20 is short-term, SMA 50 is medium-term, SMA 200 is long-term.
Exponential Moving Average (EMA)
The Exponential Moving Average (EMA) gives more weight to recent prices than the SMA. EMA 12 and EMA 26 are the most common (used in MACD). Because recent prices carry more weight, the EMA reacts faster to price changes than the SMA — useful for shorter-term signals, but more prone to whipsaws.
The 200-day SMA — the long-term dividing line
The 200-day SMA is perhaps the most-watched moving average by institutional investors. When price is above the 200-day SMA, the stock is considered to be in a long-term uptrend; below it, a long-term downtrend. Many institutional strategies explicitly reference the 200-day SMA in their rules.
How Vantra uses moving averages
Vantra computes SMA 20, SMA 50, SMA 200, EMA 12, and EMA 26 from full OHLCV history. It shows whether the current price is above or below each level, detects Golden and Death Crosses, and uses the SMA 200 relationship as one of the matching dimensions in the Historical Pattern Engine.
See moving averages on any ticker
Vantra computes this and 11 other indicators live from real OHLCV data — plus the Historical Pattern Engine to show what happened under similar conditions before.
Start for free — no card required →Frequently asked questions
Which moving average is most important?
The 200-day SMA is most widely cited by institutional investors and financial media as the primary long-term trend dividing line. The 50-day SMA is the most commonly used medium-term trend indicator. For shorter-term momentum, EMA 12 and EMA 26 (which form the MACD) are most used.