Changed the moving average length