Simple Moving Average (SMA)

Formula for the Simple Moving Average (SMA) Indicator
CE
Written by CJ Edwards
Updated 4 years ago

A simple moving average is a trend following technical indicator that lags the market because it is calculated based on past prices. It is one of the most commonly used technical indicators and can help smooth out an asset’s price action by filtering out random short term price fluctuations.

A simple moving average is a simple average of an asset over a defined number of periods. Like all moving averages, the drawback is that they are lagging indicators due to the fact that they are based on prior data. The stock can move sharply before it can show the trend changing. A shorter-term moving average has less time lag than a longer one.

The simple moving average can help identify trend direction, signal potential short-term trend changes or pullbacks, and provide dynamic support or resistance.

Calculation:

SMA( t ) = P( t ) + P( t - 1 ) + ... + P( t - n )  /  n
where:

P = Price

n = number of time periods

The simple moving average calculates the arithmetic mean of a security over a number ( n ) of time periods.

Did this answer your question?