Simple trader using moving averages