Download MetaTrader 5

Secrets of MetaTrader 4 Client Terminal: File Library in MetaEditor

19 October 2006, 13:05
Tatyana
1
1 247


    Files


All MQL4 programs are available through the "File -> Open" menu or through the toolbar. For more convenient access to MQL4 programs, there is a "Files" tab in the "Navigator" window.

In this tab, all MQL4 programs are displayed that stored in the "\MetaTrader 4\experts\" folder or in one of its subfolders.

The following actions are available from context menu of this tab:


  • New File... — creation of an empty file with extension MQ4. The file will be created in the folder selected at the moment of the file creation. To create a file in the "\MetaTrader 4\experts\" folder, one has to select the root word "Files".

  • New Folder... — creation of a subfolder in any of the selected folders. To create a folder in "\MetaTrader 4\experts\", one has to select the root word "Files".

  • Open — open the code of the selected program in a separate window of MetaEditor.

  • Delete — deletion of the selected file or folder.

  • Refresh — refreshing of the program list, synchronization with the "\MetaTrader 4\experts\" folder.

  • Show All — show/hide files of all types. By default, only files having extensions of MQ4, MQH, MQT are displayed in the "Files".



    Library


If you have not found a program in the file list of the "Navigator" window, you can download it from our website. You do not need to open your browser to search in the website and download. You can get a quick access to all desired programs using MetaEditor. Just open the "Online Library" in the "Toolbox" window.



If one of the following pages - "Experts | Indicators | Scripts | Libraries | Articles" - is chosen, descriptions of all new files and articles from the MQL4.com website are swapped automatically. Depending on the current interface language, these files will be in English or in Russian. It is important to remember that program databases are different for different languages of the website. So you can find something in the Russian version that you cannot find in the English version. And vice versa.

On each page, one can sort the contents by column. There is the search engine to get a quick access to the desired program. All pages are searched in simultaneously. It should be noted that the search is case-sensitive. This means that "MACD" and "macd" are different words for the search engine.



Having selected the necessary program, you can open the website page where it is described or download the code of this program. To view the program description, select the "Open" command in the context menu. The program description will open in the "Help" tab of the "Toolbox" window. Double click on the author's name will open page containing the author's personal details.



To load the desired indicator into the terminal, one has to download it previously. To do it, you can use the "Download" button or select the corresponding command in the context menu. An MQ4 file will be saved automatically in the corresponding folder of the Client Terminal ("\MetaTrader 4\experts\" or in one of its subfolders). The code of the downloaded program will open in a separate window of MetaEditor.



    Setup


Windows of "Toolbox" and "Navigator" can be arranged in various order at your will. You have just to point the cursor onto the blue title bar of the window, press the left mouse button and drag the window to the place you want. Windows can be moved not only within the main window of MetaEditor, but also drag "outside". This can be helpful when working with several monitors simultaneously.


Translated from Russian by MetaQuotes Software Corp.
Original article: https://www.mql5.com/ru/articles/1430

Last comments | Go to discussion (1)
Tomasz Tauzowski
Tomasz Tauzowski | 24 Jun 2008 at 17:27
I guess you can't place experts in subfolders of "experts" folder if you want them to be visible in terminal...
Step on New Rails: Custom Indicators in MQL5 Step on New Rails: Custom Indicators in MQL5

I will not list all of the new possibilities and features of the new terminal and language. They are numerous, and some novelties are worth the discussion in a separate article. Also there is no code here, written with object-oriented programming, it is a too serous topic to be simply mentioned in a context as additional advantages for developers. In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.

Here Comes the New MetaTrader 5 and MQL5 Here Comes the New MetaTrader 5 and MQL5

This is just a brief review of MetaTrader 5. I can't describe all the system's new features for such a short time period - the testing started on 2009.09.09. This is a symbolical date, and I am sure it will be a lucky number. A few days have passed since I got the beta version of the MetaTrader 5 terminal and MQL5. I haven't managed to try all its features, but I am already impressed.

False trigger protection for Trading Robot False trigger protection for Trading Robot

Profitability of trading systems is defined not only by logic and precision of analyzing the financial instrument dynamics, but also by the quality of the performance algorithm of this logic. False trigger is typical for low quality performance of the main logic of a trading robot. Ways of solving the specified problem are considered in this article.

Using text files for storing input parameters of Expert Advisors, indicators and scripts Using text files for storing input parameters of Expert Advisors, indicators and scripts

The article describes the application of text files for storing dynamic objects, arrays and other variables used as properties of Expert Advisors, indicators and scripts. The files serve as a convenient addition to the functionality of standard tools offered by MQL languages.