Ajuda para a MetaTrader 4
Ajuda para a MetaTrader 4Auto TradingStrategy Testing

Strategy Testing

The terminal allows you not only to write expert advisors, but also test them before using. This useful function allows to check operativeness and efficiency of the trading system on history data. Testing allows to start automated trading with the full knowledge about expert conduct under different market conditions. The special "Tester" window was built into the terminal for this purpose. Using this window, one can optimize expert inputs, as well.

 

New features for checking trading systems

The new platform offers traders a multi-asset strategy tester that allows the development and testing of trading systems of any complexity.

The multi-asset nature of the tester means that you are now able to test trading robots working on multiple financial instruments and markets simultaneously, for example, on two Forex pairs and one exchange futures. The entire trading environment is reproduced as accurately as possible and ticks are synchronized across all used instruments up to milliseconds. The margin and the current profit are calculated according to the trading system requirements, be it an ECN platform or an exchange.

An important advantage of the new tester is the availability of the real tick testing mode. The trade servers of the new platform store the entire real tick history. The strategy tester automatically downloads all necessary history in the "Every tick based on real ticks" mode. You do not need to worry about getting the correct historical data and providing it to the strategy tester. The tester will handle this on its own.

In addition, the new tester allows you to debug and profile the EA code on historical data without waiting for certain trading events in real time. Debugging on history data runs in the visual testing mode in the Strategy Tester. An EA is executed on a chart based on an emulated or real sequence of ticks.

The tester's important objective is providing EA's test results. Apart from potential profit displayed on history, you also obtain a great amount of statistical data including profit/loss percentage ratio, number of profitable/loss-making deals, recovery factor, expected payoff and much more. The contents and number of parameters in the new test report are significantly expanded, while distribution graphs make the trading strategy analysis even more convenient.

tester_results