Fixing multiple alerts and removal of IMovingAverage as it's not needed.