In technical analysis, the simple moving average (or SMA) is an average of the closing price of a stock over a specified number of periods. When the stock price changes, the moving average changes ...