MT4 Plugin

This is a plugin for the MT4 server that copies trade activity from one MT4 account to others.

This is a plugin for the MT4 server that copies trade activity from one MT4 account to others.

It requires the Visual C++ Redistributable Packages for Visual Studio 2013 (download from Microsoft) to be installed on the server where MT4 runs.

Files can be downloaded from the CPlugin.CopyTrade.MT4Plugin feed. Download the NuGet package (which is a zip archive) and unpack it — using 7-Zip, for example — into the /plugin/ sub-folder of your MT4 server's installation.

The downloaded files are fully functional, but without a valid license the plugin processes a limit of 100 requests, after which it switches to silent mode. Restart MT4 to reset this counter. Contact us to extend the trial limit or to purchase an unlimited license.

Settings

The NuGet package (see the link above) contains an example settings file. You can start working without a settings file at all — the plugin generates an empty one the first time it starts.

Settings file example

Enable=1
Debug Level=1
Count=2
Param0=1.0:1000->1001
Param1=-0.5:1000->1002,1003;1004 1005
  • Enable = 0 | 1 — global parameter to enable or disable the plugin entirely.
  • Debug Level — level of verbosity: 0 is default, 1 is most verbose (recommended for early usage).
  • Count = <count> — number of rules defined below.
  • Param<index> = <multiplier>:<master>-><slaves> — rule definition, with the index starting from zero:
    • multiplier — how much of the source volume to open on each participant's account; 1.0 = 100%.
    • master — source account number.
    • slaves — a single login or an array of logins that should take part in the copying routine.

Rule definition

The <slaves> field can contain one or more records delimited by comma, space or semicolon.

To disable a rule, set its multiplier to zero.

A multiplier can have a negative value to achieve the reverse-copy feature.