simple moving average class updated in strategy