MetaEditor HelpMQL4/MQL5 WizardCreating a library

Creating a library

A template is a basic source code of a library. It contains the standard program header, general properties, as well as a simple sample function. The template is created in the MQL5/Libraries (or MQL4/Libraries) directory.

Creating a library

Fill in the following fields:

  • Name – name of the library, the same name is assigned to the library file. 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.