MetaEditor HelpMQL4/MQL5 WizardCreating an include file

Creating an include file

A template is a basic source code of an include file. It contains the standard program header, general properties, as well as examples of importing functions from other files. The template is created in the MQL5/Include (or MQL4/Include) directory.

Creating include files

Fill in the following fields:

  • Name – include file name. The same name is to be assigned to the file itself. Here you can also change the path to a destination file. For example, create it in the new \Libraries subfolder.
  • Author – author name.
  • Link – developer's email address or website.

Click Finish to complete template creation. A generated file is immediately opened for editing.