Description
The plug-in pays multilevel commission to a tree of partners on MetaTrader 4 trading server. The plug-in sets a percentage of commission paid to a higher partner by the partner whose referral is trading. Commission is paid from a referral's each trade provided that a number of terms specified in the plugin settings are respected.
Initial commission is paid to a partner whose referral closed a trade by the AgentCommissionEx or AgentCommissionEx plug-in for MetaTrader 4, whereas the MultiAgentCommission plug-in pays commission to higher partners, branch by branch, according to the tree of partners. A commission payment comment format in accordance with which MultiAgentCommission will define the moment of adding commission to the account balance for a subsequent payment of commission to other higher partners is to be specified in the plug-in AgentCommission or AgentCommissionEx.
The connection between partners of different levels is set by the agent_account parameter. The agent_account parameter must specify the higher partner's account number for a lower level partner.
The accounts to which multilevel affiliate commission will be added are selected by colour, country, ID, login, or group. The maximum number of nested levels, i.e. partners that will be paid affiliate commission from a referral's trades can be specified as well.
Settings:
MaxAgentLevels – maximum number of agent commission levels including initial one. The partners whose nested level exceeds the value of this setting will not be paid commission from a referral.
Data type: | numeric |
Default value: | 5 |
Value example: | 3 |
LogMACsOnly – activates a MAC logging mode instead of real payment. If 1, there will be performed logging instead of paying multilevel commission. If 2, the plugin will pay affiliate commission without logging.
Data type: | numeric |
Default value: | 0 |
Value example: | 1 |
MACsPercent – agent's commission percentage of the MAC lower level. If MACsPercent=10, a higher level partner will receive 10% of his sub-partner's commission.
Data type: | numeric |
Default value: | 10 |
Value example: | 15 |
Filter_ACsComment – filter of comments on agent's commission payment operations according to which MAC must be paid.
Data type: | string |
Default value: | agent * (all comments starting with agent - this value shouldn't be changed) |
Value example: | agent_c * |
Filter_IdReferral – the filter of enabling/disabling of the MAC by referral's ID.
Data type: | string |
Default value: | * (any referral ID is avaialble) |
Value example: | !211111222,!55555555,* |
MaxMAC – maximum MAC amount paid to an agent (in USD). In order to avoid conversion of affiliate commission, all affiliate accounts should belong to the groups with USD currency. If 0, affiliate commission will not be paid.
Data type: | numeric |
Default value: | 0 |
Value example: | 10 |
Filter_Group – filters the agents to whom MAC should be paid by group (skipping an agent does not cancel MAC payment to lower level agents). The plugin will process affiliate commission payment only in the affiliate accounts set to correspond to this setting.
Data type: | string |
Default value: | * (all groups) |
Value example: | ,2P*,!GROUP-AB*,*USD*,*EUR*,*RUB*, |
Filter_GroupReferral – the filter of referrals by account group. The plugin will process affiliate commission payment only from referral trading accounts which group corresponds to this setting. If its needed to exclude groups of referral accounts from partner commission calculation then you have to use a "!" sign with no quotes, for example: !*EUR*,!CONTEST-USD,* (means that commission will not be paid to partner if referral's group name has "EUR" substring with no quotes, or group name is called "CONTEST-USD" with no quotes, - all other referral's groups will be processed normally)
Data type: | string |
Default value: | * (all referral groups will be processed by plugin) |
Example value: | !GROUP-AB*,*USD*,*EUR*,*RUB*, |
FilterSkip_Login – list of logins of those partners to whom MAC should not be paid (skipping an agent does not cancel MAC payment to lower level agents). The setting prevents affiliate accounts logins from being processed by the plugin. In case several logins need to be excluded, the settings are specified in the following way: FilterSkip_Login, FilterSkip_Login1, FilterSkip_Login2, ..., FilterSkip_LoginN.
Data type: | numeric |
Default value: | |
Value example: | 12345 (partner's account number) |
Filter_Country – filters the agents to whom MAC should be paid by country (skipping an agent does not cancel MAC payment to lower level agents). The plugin will process affiliate commission payment only in the affiliate accounts set to correspond to this setting.
Data type: | string |
Default value: | * (all countries) |
Value example: | ,Russia,USA,Ukraine,RU, |
Filter_Id – filters the agents to whom MAC should be paid by ID (skipping an agent does not cancel MAC payment to lower level agents). The plugin will process affiliate commission payment only in the affiliate accounts set to correspond to this setting.
Data type: | string |
Default value: | * (all IDs) |
Value example: | ,1234,ID123,ID22*,!666, |
Filter_Color – list of colours of agents' accounts in which MAC should be paid (format: bbggrr,bbggrr,bbggrr; if colours are not set, payment will apply to all colours; skipping an agent does not cancel MAC payment to lower level agents). The plugin will process affiliate commission payment only in the affiliate accounts set to correspond to this setting.
Data type: | string |
Default value: | |
Value example: | ,FF0000,000000,A4D500, |
FilterSkip_Color – list of colours of agents' accounts in which MAC should not be paid (format: bbggrr,bbggrr,bbggrr; skipping an agent does not cancel MAC payment to lower level agents).
Data type: | string |
Default value: | |
Value example: | ,FF0000,000000,A4D500, |
Format_MACsComment – format of a comment on MAC payment operation.
Data type: | string |
Default value: | #%dagent'%d' - #%d (the first %d is replaced with a subpartner's level; the second %d is replaced with a subpartner's account number; the third %d is replaced with a ticket number of a balance operation paying commission to a subpartner - the value should not be changed) |
Value example: | #%dagent'%d' - #%d |
Used components:
MetaTrader 4 Server API, MetaTrader 4 Server, OS Windows
After a purchase, you will receive:
A compiled plug-in without source code with a configuration file
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!