Repo for a moving average