optimize moving average strategy on a per symbol basis