The Simple Moving Average (SMA) is the average stock price over a period of time with equal weighting given to each daily price. The SMA is calculated by adding the closing price of the security for a number of time periods and then dividing this total by the number of time periods.