Macro Factors

Moving Averages (SMA)

A rolling average of an asset's price over a defined window — used to identify trends and momentum signals.

Formula

SMA(n) = Sum of closing prices over n days / n

A Simple Moving Average (SMA) is calculated by averaging an asset's closing price over a defined rolling window — typically 50 days or 200 days. The result is a smoothed price line that filters out short-term noise, making underlying trends easier to identify.

The 50-Day SMA captures intermediate-term momentum. When a price is trading above its 50-day SMA, it signals that recent momentum is positive. When it crosses below, it signals potential weakness. The 200-Day SMA is the most widely watched long-term trend indicator. A cross of the 50-Day above the 200-Day is called a 'Golden Cross' (bullish). The reverse is called a 'Death Cross' (bearish).

On StressTest.pro, we display the distance of the current price from its 50-Day and 200-Day SMAs as a percentage. A reading of +8% vs 200-Day SMA means the price is currently 8% above its long-term trend — bullish momentum. A reading of -15% means the price is in a significant downtrend.

Frequently Asked Questions

What does 'vs 200-Day SMA' mean?

It shows the percentage difference between the current price and its 200-day simple moving average. A positive number means the price is above the long-term trend (bullish). A negative number means the price is below trend (bearish or in correction territory).

See Moving Averages (SMA) in Action

Run a real backtest on any stock or ETF to see Moving Averages (SMA) computed live from 10 years of data.

Launch Free Backtest