Copy paste master -slave trading system simple version

MQL5 Experts

Specification

slave only informations for massters need other requirments so that would send correct data.


the prototype already created


2. Slave EA: Essential Settings

The Slave EA must include the following mandatory inputs for management:

  • Magic Number: Customizable Magic Number for the Slave EA.
  • Entry Lot Input: Manual input for the lot size of Slave positions (e.g., 0.1).
  • Master Magic Filter: Input to specify which Magic Number from the Master should be followed.
  • Master Symbol Filter: Input to specify the symbol to copy (e.g., "0" or "None" to disable checking/copy all).
  • Library Architecture: The existing WahooIncludes libraries MUST remain fully functional and be implemented in the Slave EA to ensure identical logic and compatibility.

3. Copy Logic (Market Execution Only)

The Slave does not copy "Pending" orders. The Slave waits until the Master's pending order is triggered and becomes an Active Position (Market). Only then does the Slave initiate its entry logic with the specified delay.

  • Order Mapping (Inversion): Dropdown menus to manually define direction mapping:
    • If Master Buy -> Slave [Dropdown: Buy / Sell / Disabled]
    • If Master Sell -> Slave [Dropdown: Buy / Sell / Disabled]
    • (Include all mapping options as discussed in the previous advanced version for full flexibility).

4. Staggered Execution System (Time Delay)

The Slave opens and closes positions sequentially with a delay, rather than all at once.

  • Execution Mode (Input): Immediately or Random Delay.
  • First Position Logic: The first position in a sequence opens after 3 seconds (or immediately, based on the input).
  • Sequential Delay (for every subsequent position):
    • Min_Delay_Sec: (e.g., 3 seconds)
    • Max_Delay_Sec: (e.g., 60 seconds)
    • Process: Slave opens the 1st position -> picks a random time between 3-60s -> opens the 2nd position -> picks a new random time -> opens the 3rd, and so on.
  • Closing Logic: The exact same staggered/random delay logic applies to closing positions (when the Master closes, the Slave closes one by one with random delays).

5. TP and SL Management (Dynamic Sync or Static Offsets)

  • IMPORTANT RULE: Any Entry Price Offset applied to the Slave's entry MUST NOT affect the TP and SL levels. TP and SL must be calculated strictly based on the Master's original entry price to avoid a "double offset" effect. The entry offset only moves the entry line; TP/SL lines remain anchored to the Master's base price.
  • Option A: Static TP/SL (Points): Manual parameters for TP and SL. The Slave sets these fixed levels based on the Master's entry price.
    • Logic: If the Slave's TP/SL is hit first, the position remains closed and does not reopen. If the Master closes the position first, the Slave must close immediately (Watchdog logic).
  • Option B: Dynamic Sync: this funtcion is disabled

 


Responded

1
Developer 1
Rating
(19)
Projects
24
8%
Arbitration
9
33% / 33%
Overdue
1
4%
Busy
2
Developer 2
Rating
(213)
Projects
286
47%
Arbitration
27
59% / 37%
Overdue
36
13%
Free
3
Developer 3
Rating
(4)
Projects
10
50%
Arbitration
1
0% / 100%
Overdue
2
20%
Free
4
Developer 4
Rating
(12)
Projects
18
17%
Arbitration
3
33% / 67%
Overdue
3
17%
Free
5
Developer 5
Rating
(108)
Projects
177
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
6
Developer 6
Rating
(5)
Projects
5
0%
Arbitration
5
0% / 40%
Overdue
0
Free
7
Developer 7
Rating
(2672)
Projects
3406
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
8
Developer 8
Rating
(12)
Projects
24
50%
Arbitration
1
100% / 0%
Overdue
6
25%
Free
9
Developer 9
Rating
(12)
Projects
22
41%
Arbitration
8
0% / 50%
Overdue
3
14%
Free
10
Developer 10
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(9)
Projects
14
43%
Arbitration
1
100% / 0%
Overdue
2
14%
Working
13
Developer 13
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Working
Published: 1 code
14
Developer 14
Rating
(27)
Projects
33
36%
Arbitration
0
Overdue
2
6%
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(43)
Projects
50
60%
Arbitration
2
100% / 0%
Overdue
1
2%
Working
Published: 5 codes
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(8)
Projects
9
56%
Arbitration
0
Overdue
0
Working
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 7 codes
20
Developer 20
Rating
(3)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
21
Developer 21
Rating
(4)
Projects
6
17%
Arbitration
1
100% / 0%
Overdue
2
33%
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(387)
Projects
499
23%
Arbitration
60
55% / 25%
Overdue
59
12%
Working
24
Developer 24
Rating
(48)
Projects
57
35%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
25
Developer 25
Rating
(31)
Projects
33
42%
Arbitration
0
Overdue
3
9%
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(635)
Projects
1005
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
28
Developer 28
Rating
(252)
Projects
296
76%
Arbitration
13
77% / 0%
Overdue
4
1%
Working
29
Developer 29
Rating
(54)
Projects
102
23%
Arbitration
12
25% / 17%
Overdue
13
13%
Free
Similar orders
【Project Overview】 Develop a simple, clean MT5 EA for XAUUSDm (Gold Mini) on a Cent account. The strategy is a non-martingale trend grid using EMA for direction, ATR for dynamic spacing, and trailing stop for exit. 【Strategy Logic】 1. Trend Direction (H1): - EMA(50) on H1. Price above EMA = Long only. Price below = Short only. 2. Entry (Pending Stop Orders): - Place stop orders in the trend direction. - Spacing
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
Hello Developers, I am looking for an experienced MQL5 developer to complete the development of a custom MetaTrader 5 Expert Advisor (EA) based on my proprietary trading strategy. I already have a partially developed EA that includes the required custom indicators and part of the trading logic. The project can either be completed by modifying the existing EA or, if more appropriate, by rebuilding it from scratch
Hello Developers, I want to build a custom Expert Advisor (EA) for MetaTrader 5 (MT5) to trade Gold (XAUUSD) and Bitcoin (BTCUSD). This will be based on my own custom strategy. Here are the project requirements: 1. Platform: MetaTrader 5 (MQL5) 2. Trading Assets: Gold (XAUUSD) and Bitcoin (BTCUSD) 3. Timeframe: Suitable for multi-timeframe execution (I will specify the exact timeframes in private chat) 4. Core
Poptavka ZN 35 - 40 USD
Požadavky: platforma MetaTrader 5, jazyk MQL5; předání úplného a čitelného zdrojového kódu .mq5 a všech potřebných .mqh souborů; zákazů knihoven, DLL, vzdálených serverů a externí licenční kontroly; zákaz martingale, gridu, navyšování pozice po ztrátě a obchodování bez stop-lossu; výpočet velikosti pozice podle procenta rizika a skutečné měny účtu; nastavitelné maximální denní riziko a celkové čerpání; ochrana proti
I will pay 10k (negotiable) for an EA for existing MT5 that generates a minimum of 5% or higher a month consistently Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. You will provide me with the.ex5 file with an expiration of 1 week, so that I can test the EA first on demo account. Developer should be
I am looking for a profitable daily trading system. It can trade any pair of the following, Gold, EURUSD,GBPUSD so either of these three pairs. If it does trade other pairs and is very profitable then send proof. The system shouldnt be a risky system like a blind martingale. It needs to trade everyday and be profitable. It shouldnt be spread sensitive. Ideally i need the system on MT5 but if its on mt4 i can accept
The Great Martingale and Classic Martingale will be coded selectively in one . The Coder should know well both of Great and Classic Martingale and calculation of both of their lot sizing. Should understand the below Formulas of lot sizing after one loss or consecutive loses. if not understand the below please do not apply . A different trailing stop which calculates all profits/losses in a serie will be applied
Our advanced automated trading robot is designed to analyze the financial markets and execute trades without requiring constant manual intervention. Using intelligent algorithms, it monitors market trends, price movements, and technical indicators in real time to identify potential trading opportunities. The robot automatically opens, manages, and closes trades based on its predefined strategy, helping to remove
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market

Project information

Budget
50+ USD

Customer

(3)
Placed orders15
Arbitrage count0