Fix and logging for MA strategy.