Description

Plugin for copying orders from master account (provider) to slave accounts (investors). This system is also called "Social Trading". The plugin supports 4 types of copying:

- Full volume size copying 1 for 1 - Copying a fixed volume size of each trade - Copying a predefined percent of each trade - Copying in proportion to investor’s equity

Full size copying 1 for 1

This copy type implies that the volume of a trade copied onto the investor's аccount is equal to the volume of the respective trade in the trader's аccount.

For example, if the trader opens 5 lots, the investor’s аccount will open 5 lots as well.

Copying a fixed size of each trade

This copy type implies that the volume of a trade copied onto the investor's аccount is always identical to the volume pre-set in copy settings.

For example, if the investor sets a «copy fixed size» of 2 lots and the trader opens 5 lots, 2 lots will be opened on the investor’s аccount.

Copying a predefined percent of each trade

This copy type implies that the volume of a trade copied onto the investor's аccount is identical to a pre-set percent of the volume of the respective trade on the trader’s аccount.

For example, if the investor sets 50% and the trader opens 5 lots, it will open 2.5 lots on the investor’s аccount. The investor can set from 1% to 10 000%.

Copying in proportion to investor’s equity

This copy type implies that the volume of a trade copied onto the investor's аccount is defined by the copy equity/trader’s equity ratio. The volume of the investor’s quity used for copying trades is defined in copy settings. In case of using “all equity” as copy equity, it shall be equal to the current amount of funds in the investor's аccount at the moment of copying the trade. This copy type implies that the volume of a trade to be copied onto the investor’s аccount is calculated in the following way:

Trade volume in the trader's аccount * copy equity/trader's equity = trade volume in the investor's аccount *If the current equity amount in investor’s аccount is less than the indicated value, the current amount of the аccount equity will be used as this value.

For example, the equity on the trader's and investor’s аccount is $5000 and $10000 respectively:- If the investor sets copy equity at 2,500, trades will be copied onto his/her аccount with coefficient of 2,500/5,000 = 0.5 (50% of the volume of the trader’s trade).- If the investor sets copy equity at 6,000, trades will be copied onto his/her аccount with coefficient of 6,000/5,000 = 1.2 (120% of the volume of the trader’s trade).- If the investor uses all equity as copy equity, trades will be copied onto his/her аccount with coefficient of 10,000/5,000 = 2 (200% of the volume of the trader’s trade).

Also plugin supports the ProfitSharing system, in which part of the slave's profit (the loss is not shared, only profitable orders) on the slave account is returned to the master account. This operation is carried out when the order is closed in the form of two balance operations: write-off from the balance of the slave account with a comment like "ST PSout master_account_number"; charging in the balance of the master account with a comment like "ST PSin: slave_account_number #slave_order".

System Operation Description

To create a master-slave binding and configure a copy settings, you need to write parameters to the comment and the status of the slave account:

The number of the master account should be written into the status of the slave account.

Information in the form of a set of values should be written into the comment of the account in format like ProfitSharing|Type|CopySettings|StopCopyingEquity|Paused|ProfitSharingMode

where: - ProfitSharing - the percentage of the profit sharing (values ​​of the profit sharing should be set without a percent sign) - Type - type of copying (supported values: 1,2,3,4);

Filter_MasterSymbol – filter by trading symbols of the master account.

Data type:

string

Default value:

!* (all symbols prohibited)

Value example:

!*CAD,USD*,EUR*,BTC*

InvertOrderType – activation flag for inverting the order direction when copying (pending orders are not copied). If 1, the mode is activated (0 - disabled).

Data type:

numeric

Default value:

0

Value example:

1

LogIncommingRequests – activation flag for the logging of incoming requests. If 1, the mode is activated.

Data type:

numeric

Default value:

0

Value example:

1

LogInvalidSlaveSymbol (JL) – a mode of logging of copying errors in case of problems with trade symbols on the slave account (in case the trading symbol on the slave-account is not found). If J, then the log will be written to the MT4 log, if L - then the log will be written in a separate file.

Data type:

string

Default value:

(empty value - disabled)

Value example:

JL

LogNoSlaveOrderFound (JL) – the logging mode for the absence of orders on the slave account when copying. If J, then the log will be written to the MT4 log, if L - then the log will be written in a separate file.

Data type:

string

Default value:

(empty value - disabled)

Value example:

J

LogProcessingStats (JL) – mode of logging of process of copying orders. If J, then the log will be written to the MT4 log, if L - then the log will be written in a separate file.

Data type:

string

Default value:

(empty value - disabled)

Value example:

L

LogRequestAquiring (JL) – mode of logging of master account requests. If J, then the log will be written to the MT4 log, if L - then the log will be written in a separate file.

Data type:

string

Default value:

(empty value - disabled)

Value example:

L

LogZeroSlaveVolume (JL) – mode of logging of zero settlement volume for slave account when copying/closing. If J, then the log will be written to the MT4 log, if L - then the log will be written in a separate file.

Data type:

string

Default value:

(empty value - disabled)

Value example:

L

LoggingMode (JL) – mode of logging of manager's requests. If J, then the log will be written to the MT4 log, if L - then the log will be written in a separate file.

StopCopyingEquityCheckPeriod – the frequency of checking the achievement of StopCopyingEquity by slave accounts with the periodicity in seconds, followed by the transfer of accounts into the pause mode.

Data type:

numeric

Default value:

300

Value example:

120

SyncConfirmedRequestsOnly – the flag for activating the copy mode of the master requests after their confirmation, and not at the moment of their creation. If 1, the mode is activated.

Data type:

numeric

Default value:

0

Value example:

1

WriteMasterLoginToComment – the flag for activating the mode of writing the master login to the comment of the slave order. If 1, the mode is activated.

Data type:

numeric

Default value:

0

Value example:

1

Used components:

MetaTrader 5 Server API, MetaTrader 5 Server, OS Windows

After a purchase, you will receive:

Compiled plugin with configuration file without source codes.

If you are interested in this product, feel free to order a DEMO version! Within a short time all the information about the product will be sent to your Email.

Free period 2 weeks without limits in functionality and other limits. For the demo you need to pass the registration!