stats.moving-average
Simple or exponential moving average over a series, one value per full window, rounded to stated decimals.
movingAverage in TypeScript1 capability
movingAverage in TypeScript