MQL4 - automated forex trading   /  

Articles

Articles  Features  Secrets of MetaTrader 4 Client Terminal: File Library in MetaEditor To post a new article, please log in or register


This article is about
MetaTrader 4
Download MT 4 - 5.5 Mb

Mobile trading!
Buy a license and be mobile in your trading!

Secrets of MetaTrader 4 Client Terminal: File Library in MetaEditor [ ru | cn ]



    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: http://articles.mql4.com/ru/211
Created: 2006.10.19  Author: Tatyana Vorontsova
Warning: All rights to these materials are reserved by MetaQuotes Software Corp. Copying or reprinting of these materials in whole or in part is prohibited.
Multiple Null Bar Re-Count in Some Indicators
Multiple Null Bar Re-Count in Some Indicators

The article is concerned with the problem of re-counting of the indicator value in the MetaTrader 4 Client Terminal when the null bar changes. It outlines general idea of how to add to the indicator code some extra program items that allow to restore program code saved before multiple re-counting.

Graphic Expert Advisor: AutoGraf
Graphic Expert Advisor: AutoGraf

The article shows the workability of graphics in creation of a convenient interface to manage trading.

1 comment  To add comments, please, log in or register
I guess you can't place experts in subfolders of "experts" folder if you want them to be visible in terminal...
2008.06.24 19:27 ttauzo
1 comment