Moving average aggregation

edit

The moving average aggregation has been removed. Use the moving function aggregation instead.