Simple Moving Average
定义
calculates the average of a selected range of prices, usually closing prices, by the number of periods in that range.
计算公式
\(SMA=\frac{A_1+A_2+A_3…+A_n}{n}\) where: \(A_n\) = the price of an asset at period n \(n\) = the number of total periods