The real wordsTheory
Simple moving average
Simple moving averageA technique that averages a number of recent actual values, updated as new values become available.
MA = SUM(Di) / n
where n = number of periods in the moving average
Di = demand in period i
It takes the average demand over a defined number of past periods. The forecast will lag behind trends and behind seasonality or other cyclicality.