Distance_between_moving_average