MetaTrader 4帮助
MetaTrader 4帮助User InterfaceTester

Tester

"Tester" is a multifunctional window that allows to test strategies and optimize parameters of expert advisors. When being tested, the expert is passed on the modeled data one time what allows to estimate its profitability and effectiveness. For optimization purposes, the mechanical trading system is passed many times in order to find out such parameters of the expert at which its profitability is the highest.

The window can be called by the "View – Strategy Tester" menu command, by pressing of accelerating keys of Ctrl+R, or the "Strategy Tester" Window button of the "Standard" toolbar.

strategy_tester

There are several tabs in this window:

  • Settings – settings of testing and optimization. The parameters of expert advisors, period to be tested, the method of bars modeling, and many other things, can be set up in this tab;
  • Results – the results of trade operations performed by the expert, as well as the direction of balance changes;
  • Graph – displaying of testing results in a graph;
  • Report – the detailed testing report. Many indications of testing and effectiveness of experts can be found here: the amount of bars modeled, the total profit, the most profitable and unprofitable positions, the amount of profit and loss trades, etc.;
  • Journal – a log where all actions and internal messages of the expert are recorded;
  • Optimization Results – information about every pass, including inputs, profitability, drawdowns, and other data;
  • Optimization Graph – the results of expert optimization as a graph. Besides each pass profitability, the amount of profit and loss trades is displayed in the graph.

As in the "Terminal" window, some tabs of the "Tester" window are hidden if they are empty. So, initially, only the tabs of "Settings" and "Journal" can be seen in this window. The tabs of "Results", "Graph", and "Report", will only appear after an expert has been tested. After it has also been optimized, the tabs of "Optimization Results" and "Optimization Graph" will appear. More detailed information about testing experts can be found in the section of the same name.