Added window size of moving average to config