MetaTrader 4帮助
MetaTrader 4帮助Auto TradingExpert Optimization

Expert Optimization

Optimization represents successive passes of the same expert advisor with different inputs on the same data. At that, such parameters can be sorted out at which the expert efficiency will be maximal. Terminal possesses some built-in means that allow to automate this process. To optimize an expert, one has to flag the option of the same name in the "Tester" window and press the "Start" button.

 

New strategy development features

The fifth generation platform offers the new multi-threaded tester for the algorithmic trading. The tester allows using all CPU cores available on the local PC. Testing and optimization are carried out using special computing agents that are installed as services on the user's computer. Agents work independently and allow parallel processing of optimization passes.

An unlimited number of remote agents can be connected to the Strategy Tester. Besides, you can use MQL5 Cloud Network combining thousands of agents around the world. It allows you to check a huge amount of input parameter options in about half an hour, while a conventional tester would require thousands of hours of calculations to fulfill the same task.

optimization_agents_cloud

In order to find the optimal parameters for your strategy tester, you can select one of the six standard criteria or set a custom one. You can also perform optimization with a forward test. To do this, select the best passes on the backtest period and run them on a forward period the EA has not traded on yet. Together with the random delay mode, the forward optimization allows finding the most stable parameters discarding inefficient ones.

For convenient analysis of obtained optimization results, the new platform offers multiple reports, 3D optimization graph and MQL5 language tools presenting data in any convenient form. Simply try the new tester and visualize your trading strategy.