Specification
Hi,
We are looking for someone to create a MAM,PAMM,LAMM plugin for MT5/MT4 connected to our system.
Our system will link the Slave Accounts with the Master Account and inform the plugin so the plugin can do the calculations:We need the following Allocations:
Equity Lot Share: Any open positions in the ‘Master Account’ will automatically open in the ‘Slave Accounts’, at the same price according to their Equity Ratio.
In our example, the total equity is $2,000, so the system will automatically calculate the equity ratio across the 3 Slave Accounts using the below formula.
- Slave Account A Equity = 1000 / (1000 + 400 + 600) * 100 = 50 % equity ratio
- Slave Account B Equity = 400 / (1000 + 400 + 600) * 100 = 20 % equity ratio
- Slave Account C Equity = 600 / (1000 + 400 + 600) * 100 = 30 % equity ratio
Using these equity ratios, if the ‘Master Account’ opens a trade of 10 lots, the trades will open in the Slave Accounts as per the below.
- Slave Account A will open a trade for 50/100 * 10 lots = 5 lots
- Slave Account B will open a trade for 20/100 * 10 lots = 2 lots
- Slave Account C will open a trade for 30/100 * 10 lots = 3 lots
Equity Cash Share: Any open Positions in the ‘Master Account’ will not automatically open in the ‘Slave Accounts’, but the Profit/Loss will be distributed to the ‘Slave Accounts’ once the ‘Master Account’ closes their positions according to their Equity Share.
This is like the ELS Allocation; however, the orders will not open directly on the Slave Accounts. The P&L will be distributed across the ‘Slave Accounts’ when the order is closed.
In our example, the total equity is $2,000, so the system will automatically calculate the equity ratio across the 3 Slave Accounts using the below formula.
- Slave Account A Equity = 1000 / (1000 + 400 + 600) * 100 = 50 % equity ratio
- Slave Account B Equity = 400 / (1000 + 400 + 600) * 100 = 20 % equity ratio
- Slave Account C Equity = 600 / (1000 + 400 + 600) * 100 = 30 % equity ratio
Using these equity ratios, if the ‘Master Account’ opens a trade of 10 lots and then closes the trade for 10 lots, with a profit of $1000 the profit will be distributed to the the Slave Accounts as per the below.
- Slave Account A will receive a profit of for 50/100 * $1,000 = $500
- Slave Account B will receive a profit of for 20/100 * $1,000 = $200
- Slave Account C will receive a profit of for 30/100 * $1,000 = $300
Balance Lot Share: Any open positions in the ‘Master Account’ will automatically open in the ‘Slave Accounts’, at the same price according to their Balance Ratio.
In our example, the total balance (equity + cash) is $2,000, so the system will automatically calculate the equity ratio across the 3 Slave Accounts using the below formula.
- Slave Account A Equity = 1000 / (1000 + 400 + 600) * 100 = 50 % equity ratio
- Slave Account B Equity = 400 / (1000 + 400 + 600) * 100 = 20 % equity ratio
- Slave Account C Equity = 600 / (1000 + 400 + 600) * 100 = 30 % equity ratio
Using these equity ratios, if the ‘Master Account’ opens a trade of 20 lots, the trades will open in the Slave Accounts as per the below.
- Slave Account A will open a trade for 50/100 * 20 lots = 10 lots
- Slave Account B will open a trade for 20/100 * 20 lots = 4 lots
- Slave Account C will open a trade for 30/100 * 20 lots = 6 lots
Percentage: Any open positions in the ‘Master Account’ will automatically be opened on the ‘Slave Accounts’ according to the defined percentage set for each Slave Account by the Money Manager. The total of the defined percentages must be equal to 100% for the configuration to be in effect. Whenever a Slave Account from is excluded or frozen, the total percentage across the remaining ‘Slave Accounts’ must be updated to ensure that the total percentage is equal to 100%.
In our example, the Money Manager has set the below percentages across the 3 ‘Slave Accounts’
- Slave Account A = 20 %
- Slave Account B = 20 %
- Slave Account C = 60 %
Using these percentages, if the ‘Master Account’ opens a trade of 10 lots, the trades will open in the Slave Accounts as per the below.
- Slave Account A will open a trade for 20/100 * 10 lots = 2 lots
- Slave Account B will open a trade for 40/100 * 10 lots = 2 lots
- Slave Account C will open a trade for 60/100 * 10 lots = 6 lots
Equal Volume: Whenever the ‘Master Account’ opens/closes a trade, the same trade will automatically open/close in the ‘Slave Accounts’. Like the percentage allocation strategy above, this strategy supports defining a percentage for each Slave Account by the Money Manager. However, in this case the total of the defined percentages does not have to be equal to 100%, so you can set a percentage for each ‘Slave Account’ (i.e. 50%, 100%, 200%).
In our example, the Money Manager has set the below percentages across the 3 ‘Slave Accounts’
- Slave Account A = 100 %
- Slave Account B = 50 %
- Slave Account C = 200 %
If the ‘Master Account’ opens a trade of 10 lots, the trades will open in the Slave Accounts as per the below.
- Slave Account A will open a trade for 10 * 100% = 10 lots
- Slave Account B will open a trade for 10 * 50% = 5 lots
- Slave Account C will open a trade for 10 * 200% = 20 lots
Multiplier: Using the Multiplier option, the Money Manager can set a multiplier on each of the ‘Slave Accounts’. Using the Multiplier option, the Money Manager can set a multiplier on each of the ‘Slave Accounts’. Using this multiplier any position opened by the ‘Master Account’ will open a trade according to the formula:
(Slave Multiplier / Total Multiplier ) x Volume
In our example, the Money Manager has set the below multipliers across the 3 ‘Slave Accounts’
- Slave Account A = 10
- Slave Account B = 5
- Slave Account C = 1
Using these multipliers, if the ‘Master Account’ opens a trade of 20 lots, the trades will open in the Slave Accounts as per the below.
- Slave Account A will open a trade for (10/16) * 20 = 12.5 lots
- Slave Account B will open a trade for (5/16) * 20 = 6.25 lots
- Slave Account C will open a trade for (1/16) * 20 = 1.25 lots
Fixed Lot: With the Fixed Lot allocation, any open positions on the ‘Master Account’ will automatically open in the ‘Slave Accounts’, according to a volume amount that you can specify individually on each of the ‘Slave Accounts’.
If the ‘Master Account’ opens a trade of 20 lots, they can assign to open the trades in the Slave Accounts as per the below.
- The Money Manager chooses to open a trade for 10 lots on Slave Account A
- The Money Manager chooses to open a trade for 6 lots on Slave Account B
- The Money Manager chooses to open a trade for 3 lots on Slave Account C
In addition, if the ‘Master Account’ opens a trade of 20 lots, they can also choose to open the trades in the Slave Accounts as per the below.
- The Money Manager chooses to open a trade for 20 lots on Slave Account A
- The Money Manager chooses to open a trade for 20 lots on Slave Account B
- The Money Manager chooses to open a trade for 20 lots on Slave Account C
% of equity: With the % of Equity allocation whenever a trade is opened on the ‘Master Account’, then the ‘Slave Accounts’ will open a trade according to the formula:
(Slave Equity / Master Equity) x Volume
In our example, in addition to the equity in the Slave Accounts of $2,000, the Master Account is holding an additional $2,000 in equity.
Using the above, if the ‘Master Account’ opens a trade of 10 lots, the trades will open in the Slave Accounts as per the below.
- Slave Account A will open a trade for 1,000/2,000 * 10 lots = 5 lots
- Slave Account B will open a trade for 400/2,000 * 10 lots = 2 lots
- Slave Account C will open a trade for 600/2,000 * 10 lots = 3 lots