Moving Average

A moving average is an asset's average calculated over a specified period of time. For example, a 30 bar moving average includes the last thirty bars of an asset's value in its calculation. The next day, the moving average replaces the earliest bar (which is now the thirty-first day) with the most recent bar to calculate the current bar's moving average. Moving averages are often used to obtain a smoothed value of an asset.