MAM Plugin connected to Web Application

C++ Integration

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


Responded

1
Developer 1
Rating
(63)
Projects
68
25%
Arbitration
12
42% / 42%
Overdue
4
6%
Free
Similar orders
I need to export from MT5 the live charts open data to excel. So the information that is on the Data Windows Must show in the excel (including the indicators value). ScreenShot of MT5 information I want: https://ibb.co/pKDxWcz So the information I want from all open tabs on the MT5
Dear Developer, I would like to hire your service for developing an algorithm for the thinkorswim platform for placing the trades in accordance with this indicator named UT Bot : https://usethinkscript.com/threads/ut-bot-for-thinkorswim.12640/. Please, see this page for the complete algorithm code for thinkorswim platform. It should enter the trade when the indicator shows the signal and then exit it and then enter
Id Like to have a web based trading journal where i can import MT4/5, excel sheet or manual input. This page will require uses to register There has to be a performance dashboard of the journal
//Takes screenshot string imgname="image.png"; bool first=ChartScreenShot(0,imgname,1920,1080); // write the initial html code int Report_File=FileOpen("report.html",FILE_WRITE|FILE_TXT,","); FileWrite(Report_File,"<!DOCTYPE html>"); FileWrite(Report_File,"<html>"); FileWrite(Report_File,"<body>"); string timeString=TimeToString(TimeCurrent()|TIME_MINUTES); FileWrite(Report_File,"<center>Report generated at
Hello, We receive trading requests via FIX Protocol. We need a structure to manage these requests in Python MT5Manager ManagerAPI and create positions, deals and orders. What we need is NOT about the FIX Protocol. Even though we have all our permissions and pump mode is on, we are having problems while creating an order, position or deal
need to create a powershell script to auto update my Custom Symbols from .csv files. there will be a folder with many files, the script will enumerate them and crete a list -> than import that data into Custom Symbols of mt5 (/portable). please ask if something not enought clear
Hello I have an old mql4 EA file, I need to convert it to python script which can be run on tradelocker studio. You maybe need to use backtrader package of python. Time line is 5 days. Thank you
Hello ! I’m searching for a developer able to make a simple website displaying my MT5 balance account and current positions in realtime. My broker is Deriv and it proposes API, i don’t know if it is possible with MT5 API. I already have a domain, hosting and server. Don’t hesitate if you are interested, I’ll give more informations
I need a tool: Can convert any strategy of PineScript into .mql5 without bugs Automation convert for multiple strategy of PineScript files into multiple .mql5 files Programming can write in Python/C++ I have some PineScripts file to test (in attached files, with their names can find in TradingView -> Indicator -> search by name) I want to backtest all community strategy of TradingView, so that the tool need to be

Project information

Budget
50+ USD
For the developer
45 USD