MetaEditor
MetaEditor is a multifunction specialized editor intended for creating, editing and compiling application programs written in MQL4. The editor has a user-friendly interface that allows a user to easily navigate when writing and checking out a program.
File System
MetaEditor stores all source codes of MQL4 programs in its own structured catalog on a hard disk. The location of a program in MQL4 is determined by its purpose: a script, an Expert Advisor, an indicator, an include-file or a library.
Creating and Using Programs
Application programs written in MQL4 - Expert Advisors, scripts and indicators - are created using MetaEditor.
The executable file of MetaEditor (MetaEditor.exe) is provided as part of the client terminal and is located in the root directory of the terminal. The Userguide of MetaEditor is opened by pressing F1. It contains general information necessary for the creation of new programs. The editor can be opened by clicking on the file name MetaEditor.exe or on a shortcut located preliminarily on the desktop.
The main advantage of applications is the possibility to make trades according to the algorithm set by the trader. Any ideas that can be described in an algorithmic language (intersection of two moving averages or digital processing of signals, three screens by Elder or Peters' fractal analysis, a neural network or geometrical constructions) can be coded in an application and then used in practical trading.
Development of applications for MetaTrader 4 Client Terminal requires the knowledge of MQL4. This present textbook will help you create your own Expert Advisors, scripts and indicators and incarnate in them your ideas – your algorithms of profitable trading. The textbook is intended for a large number of readers without experience in programming that want to learn how to develop automated trading applications for MetaTrader 4 Client Terminal. The textbook is designed in such a method that to make learning MQL4 as convenient and consequent as possible.