User login

  

Starting a New Module

To start creating your own script in ProTrader Desktop you need to create a new Module. A Module is actually the source file of the script with embedded metadata. To create a new Module there is a Wizard in ProTrader Terminal.

Creating a new Module using the Wizard

To create a new module from the Wizard:

1. Select Scripts> New Module
2. Choose the language in which you want to work:

  • C#
  • Visual Basic .Net
  • ProTraderLanguage (PTL)
  • MetaQuotes Language 4 (MQL4)
  • EasyLanguage (EL)

3. Set the main project parameters: Name, Date of creation.
4. Fill Copyrights (only for PTL, MQL and EL)
5. Protect your script with a password and an expiration date.

Copyright, Version and Password Protection

If you plan to distribute your script and would like to protect your authoring rights.

  • Author - enter the project author's (your) name.
  • Comments - enter any notes describing your project.
  • Company - enter your company's name.
  • Copyrights (c) - enter the copyright line for your project.

The contents of the above four fields, together with the project's name and type, will appear as comments at the beginning of your source file.

  • Version - use the up and down arrows to define the major and minor version numbers for your script.
  • Unlimited versions - with this option selected, the output script will be operational indefinitely.
  • Demo expiring on - select this option to limit the users of your script to a trial period ending on the specified date. Click the down arrow and pick the expiration date from the calendar.

Check Protect with password to prevent unauthorized users from running your script.

Modifying Project Properties

The output folder, author, comments, company, copyright, name, and version settings made when creating a project can be viewed or modified at a later time. Right Click inside Editor and select Settings.

After editing, click OK to apply your changes and exit the settings window.

12345