Forex Auto Trading: How to Use AI for Strategy Optimization