Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
I need an EA that copy trade from MT4 to MT4, MT4 to MT5, MT5 to MT5, with the following options:
Only copy open positions on the master side that meet the following requirements:
There are 2 or 3 positions with the same symbol opened in a certain period of time (timeout time and number of open positions needed to copy can be edited) copy the nearest open position that meets the requirements during the allowed timeout period, the timeout period will be calculated based on the first open position. For example: on the master account side, the first GBPUSD position is opened at 4:30 p.m., the timeout time is set to 1 hour, the EA will monitor and wait for the next 2nd or 3rd position to open for about 1 hour to execute copying the position meets the requirements to the slave account. In this example, 5:30 p.m. will be the time when the EA will reset the timer. If there are no more open positions within that time period, the EA will reset to wait for the next loop.
EA also need meet these requirement:
1. Supports copying from MT4 to MT4, MT4 to MT5, MT5 to MT5 including netting accounts.
2. Supports copying from Demo account to Real account, Real account to Demo account, Demo account to Demo account and Real account to Real account.
3. Supports copying from an investor account where read-only password is applied.
4. One supplier terminal can send transactions to several receiving terminals, one receiving terminal can receive transactions from several supplier terminals.
5. It can work in a terminal where another Expert Advisor is already installed, or where you are trading in a local computer(VPS). (local copy only)
6. Has a multifunctional panel for easy copy setup and copy status check in one chart.
7. Does not lose settings and deals when the connection is lost or the trading terminal is restarted.
8. Allows you to select any pair to copy, and edit their name. Allows you to copy deals on different symbols, for example GBPUSD, NZDCHF. An empty value means that all orders will be copied.
9. Auto detect symbol from Master/Slave terminals. Example GBPUSD=GBPUSD.i , if can not auto detect then showing alert about missing value of the symbol mismatched.
10. Auto detect digit quotes from Master/Slave terminals. Example (two digit to four and five-digit quotes.)
11. Supports back copying when terminal restart on time positions open (enter timeout in seconds).
12. Filtration of only copying by order types.
13. Filtration of only copying by order comment.
14. Filtration of only copying by order magic number.
15. Filtration of only copying by lot size (minimum/maximum).
16. Reverse Duplicate. If true - Reverse trades. (Example: if original trade is buy, copy trade will be sell).
17. Allows you to set the maximum difference in the opening prices of transactions (slippage) and the maximum time delay.
18. Supports several methods for calculating the copied lot.
- LotMultiplier: Lot multiplier.
- Lot size = Lot Multiplier x provider's lot size.
- Add Lots: Lot size = Add Lots + provider's lot size.
- Fixed Lots: Enter Fix Lots number.
- Percent Lots: choose percent Lots in current equity and percent Lots in current balance.
19. Synchronizes SL and TP, and has several ways to calculate their location.
- Fellow Original TP/SL: Copy same original trade's TP/SL value.
- Do not copy the TP/SL value.
- Set New TP/SL: Set new TP/SL fixed.
- Set New TP/SL by copy original trade's TP/SL value plus add extra points.
- TakeProfit: New take profit value in points.
- StopLoss: New stop loss value in points .
20. Can set copy and stop copy at the specified time, and any days of the week.
21. Can stop copying when the minimum equity is reached.
22. Can stop copying when the maximum drawdown is reached.
23. Can stop copying when the specified number of trades per day is reached.
24. Can stop copying when the specified number of losing trades per day is reached.
25. Can stop copying when the specified loss per day is reached.
26. Can close copy orders at a specified time, and the days of the week.
27. Notification to email and phone (mobile terminal) about trading operations.
28. Notification to email and phone (mobile terminal) when the specified equity is reached.
29. Daily report to email and phone (mobile terminal).
30. The speed of the copying a position must be lower than 2 sec and can set the speed of copy EAs in ms.
31. Can set Slave ticket, comment, text or just copy from Master terminal.
32. Can select multi Master terminal to copy.
The Developer of EAs need to provide source code mq4, mq5 that can compile .ex4 can work for Metatrader 4 and .ex5 can work for Metatrader 5.
When problem please help me fix it.
Thanks