Aide MetaTrader 4
Aide MetaTrader 4User InterfaceTesterSetup

Setup

strategy_tester

Testing parameters and experts optimization parameters can be set up in this tab. At testing, the expert is passed on the modeled data one time what allows to determine the profitability and efficiency thereof. At optimization, the mechanical trading system is passed several times with the purpose of determining of such expert parameters at which its profitability is the highest.

The following commands and options are available in this tab:

  • Expert Advisor – select the expert to be tested in the list. The expert must be compiled and placed in the /EXPERTS directory. All newly created experts will be automatically placed into this directory;
  • Symbol – select one of the securities available;
  • Period – select the symbol timeframe;
  • Model – select the method of bars modeling:
    • Every tick (based on all available least timeframes with fractal interpolation of every tick);
    • Control points (based on the nearest less timeframe with fractal interpolation of 12 control points);
    • Open prices only (fastest method to analyze the bar just completed);
  • Spread – the price history stored in the client terminal includes only Bid prices. On default, to model Ask prices, the strategy tester uses the current spread of a symbol at the beginning of testing. However a user can set a custom spread for testing in the "Spread" field.
  • Use date – use range of dates when testing. If this option is enabled, the data from the given range will be used during testing. Otherwise, all available data for the given symbol and period are used;
  • Visual mode – enable the mode of the visual displaying the test process on a graph. You can adjust the speed of the testing visualization using the lever located to the right. You can also specify a date in the "Skip to" field to skip visualizing the test till that date.
  • Optimization – enable the expert parameters optimization mode. More details about expert parameters optimization can be found in the section of the same name;
  • Expert properties – open the "Expert Properties" window that allows to manage the expert parameters when testing and optimizing;
  • Symbol properties – view the symbol parameters. These data are given in the *.FXT file heading and used to emulate the server operation;
  • Open chart – create a new chart window for the symbol selected for testing. When being tested, the expert works with a virtual chart. Signs of opening and closing of positions, objects and indicators used by the expert, are imposed in this chart. This chart can be opened only after the expert has been tested. For opening of a virtual chart, the TESTER.TPL template is used, and, if it is not available, the default settings are used. You can also give a template the same name as that of an Expert Advisor. In this case, that exact template will be used when opening the chart of the Expert Advisor;
  • Modify expert – open the "MetaEditor" and start to edit the selected expert. This is useful if there is a need to introduce small changes and recompile the expert fast;
  • Start – start testing or optimization. After this button has been pressed, one can estimate the speed of testing or optimization in progress bar in the lower part of the window. After the testing has been started, the "Start" button will be replaced with the "Stop" button. Having pressed this button during testing/optimization, one can stop the process.

More details about testing experts can be found in the section of the same name.