MetaEditor Help

Creating Programs

Creating Programs

The development of programs is a complicated and time-taking process. The MetaEditor development environment allows to minimize the efforts to write the source code allowing one to concentrate on the algorithm itself. The tools for all stages of development are implemented in the MetaEditor, from creating a program by template to its compilation and debugging. In the section devoted to the development of programs the following aspects of this process are considered:

  • Common Data
    General information about writing programs in the MQL4/MQL5 language.
  • Structure of Catalogs
    The structure of storing information related to programming in MQL4/MQL5.
  • Structure of Application Files
    General recommendations on disposition of files when developing applications.
  • Working with Source Code
    Different tools that allow to make the writing of the source code easier. These tools include the intellectual control of the source code, the tools for searching and replacing and the automatic styling feature as well.
  • Compilation
    Creation of executable files that can be run in the client terminal.
  • Working with C++ DLL
    Working with C++ source code files right in MetaEditor.
  • Debugging
    Step-by-step debugging of programs that allows to easily detect errors in source codes.
  • Profiling
    Profiling a source code to find out its slowest parts.
  • In the Code Base section of the community of developers MQL4.community/MQL5.community, you can find a lot of ready-made application with open source code.
  • When opening a source code file from the Internet Explorer or Mozilla FireFox browser, it is automatically moved from the temporary directory to one of the subdirectories of /MQL5 (or /MQL4) according to its type.