MetaTrader 4 Help

Journal

Messages about the expert testing process, including all trade operations, are published in the "Journal" tab automatically.

This journal is rather similar to that of the "Terminal – Expert Advisors" window, except for that messages informing about expert testing, but not its working at the market , are published in this Tester Journal. After the expert has been tested, these data will be output in the separate /TESTER/LOGS directory. The tester journal files are stored in the /EXPERTS/LOGS directory, filenames being correspondent with the date of logs – YYYYMMDD.LOG.

strategy_tester_journal

Journal entries are represented as a table with the following fields:

  • Time – date and time of an event;
  • Message – description of the event.

Events are divided into several types, which are marked by special icons:

  • Information – information;
  • Warning – warning;
  • Error – error message.

The following commands can be execute from the context menu of this tab:

  • Open Open – open the folder with the log files of the journal. Besides that, when this command is executed, all current journal records are saved to log files. These files are stored in the /TESTER/LOGS directory of the client terminal. File names correspond to the date when the journal was formed – YYYYMMDD.LOG. thus you can view previous records of the terminal operation. Only latest entries are displayed on the "Journal" tab;
  • Copy Copy – Copy the line with the information to clipboard for further using it in other applications;
  • Clear All Journals Logs – delete all the log files of the strategy tester (/TESTER/LOGS). The Journal tab is cleared and all the log files are deleted from the specified folders when this commands is executed.
  • Viewer Viewer – Open the window of the special program for viewing log files;
  • Auto Scroll – if this option is enabled, the list of entries will be automatically scrolled to the latest entry as a new message appears in the journal.
  • Auto Arrange – if this option is enabled, size of the table columns will be selected automatically when the window size is changed;
  • Grid – show/hide grid to separate fields.

 

 

More details can be found in the sections of "testing Expert Advisors" and "Optimization".