different types of moving averages
Simple Moving Average. The most common type of moving average is the simple moving average, which simply takes the sum of all of the past closing prices over a time period and divides the result by the total number of prices used in the calculation.