Toolbox is a multifunctional window. It shows the results of various actions performed in MetaEditor: compilation, search, profiling and debugging. Besides, it provides access to the extensive library of source codes and articles about MQL4/MQL5 programming.
The Journal tab informs of actions performed in MetaEditor, for example, the ones performed during MQL5 Storage operation.
The tab displays the program compilation logs: data on applied files, errors and warnings.
The log contains the following data:
Double-click an error message, to open an appropriate file. The cursor is immediately set to the error location. A similar action is performed using the Go to Line command in the context menu.
MetaEditor features the smart and high-performance search throughout MQL5.community – community of traders and MQL4/MQL5 developers. The site contains all kinds of useful information: documentation, forum, blogs of traders and analysts, articles related to programming and platform use. The community provides access to the huge source code database and the application store for the platform.
In addition to MQL5.community, the search includes other popular platforms, such as GitHub, MSDN and Stack Overflow.
To have the most recent publications displayed at the top of the list, enable the "Sort by date" option to the right of the categories.
To go to the found text, double-click the file name. A similar action is performed using the Go to Line command in the context menu.
This tab displays results of profiling a program's source code. Profiling allows you to optimize a source code by detecting the slowest fragments in it.
Number of a line the function description starts from
Number of function calls performed during profiling
Time spent on the function execution: in milliseconds and as a percentage of a total time spent for executing all functions
Graphical representation of a time spent for the function execution
Find detailed instructions on profiling in a separate section.
The following data on the call stack is shown:
If not a single breakpoint is enabled and no step-by-step debugging commands are executed, the left part remains empty. The context menu allows you to show and hide the grid separating fields and set auto sizing of columns.
The right part of the Debug window is intended for observing expression values during debugging:
If the expression value is not defined or not calculated at the moment, the appropriate field displays "Unknown identifier". The icons for these expressions look like this: .
To add an expression to the observation, select it in the source code of the program and click Add Watch in the context menu. Also, the observed expression can be added through the context menu of the tab: click Add and specify the expression name.
The tab provides access to an extensive library of articles on MQL4/MQL5 programming published on MQL5.community website. Articles are an excellent guide for creating applications, since they cover a lot of practical tasks involving algorithmic trading. New articles are published every week.
All articles are conveniently divided into categories by subjects, for example, trading, indicators, Expert Advisors, strategy tester, etc. You can sort out articles by categories via the context menu. To view an article, double-click its name or click View in the context menu. The article will be opened in a separate browser window.
Before reading the article, you can view its brief description. To do this, hover the cursor over its name.
The tab provides access to the library of MQL4/MQL5 source codes. The Code Base contains thousands of trading robots, indicators and scripts. Studying a source code of ready-made programs helps to better understand the principles of programming. They can also be used as a basis for your own development.
Name, short description, rating (defined by MQL5.community users) and publication date are displayed for each program. To view detailed information about the program on the website, double-click on it. To download the program, click Download in the context menu.
All programs are divided into several categories marked with the corresponding icons:
Use the context menu to sort out programs by categories.
Each shared project in MQL5 Storage has publicity settings: the project can be private or open to other users. All projects you can join are displayed in the separate Public Projects tab:
Title, description, author name, number of changes (commits) and creation date are displayed for each project.
To participate in the project, click Join. After that, the project will appear in the Shared Projects section. Then click Update from Storage in the context menu of the project in order to download it to your computer. Details on public projects are described in the separate section.
The journal tab informs you of actions performed in MetaEditor, for example, the ones performed in MQL5 Storage, as well as notifications on the availability of the new MQL4/MQL5 language or MetaEditor Reference, etc.
The journal displays the following information:
All events are divided into three types marked by an appropriate icon:
To go to the MetaEditor journal file (metaeditor.log), click Open in the context menu. When running this command, the current journal entries are saved in a file. The journal file is saved in the /Logs directory of the trading platform.