
Simple Moving Averages are computed by adding up all the closing prices for a chosen time frame then dividing by the number of periods in that time frame. Then, as each successive period is included, the earliest period is dropped so that only the most recent specified number of data points is included.