Defining a Program

A program is created with the add program command.

  • To create a new program, use the add program command:

    add program NAME [ADD_ITEM {ADD_ITEM}];

    NAME is the name you assign to the program.

    ADD_ITEM is an add program clause which provides additional information about the program you are creating.

    The complete syntax and clauses for working with programs are discussed in the programming reference section of the MQL guide.