A template is a basic source code of a script. It contains the standard program header, general properties and workpieces for the launch event handler – OnStart. A template is created in the directory corresponding to a program type – MQL5/Scripts (or MQL4/Scripts). When creating a template, you can define the program inputs beforehand.
Fill in the following fields:
To create a parameter, click Add and fill in three fields:
Click Finish to complete template creation. A generated file is immediately opened for editing.