Copy paste master -slave trading system simple version

MQL5 Experts

Termos de Referência

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

 


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(19)
Projetos
24
8%
Arbitragem
9
33% / 33%
Expirado
1
4%
Ocupado
2
Desenvolvedor 2
Classificação
(213)
Projetos
286
47%
Arbitragem
27
59% / 37%
Expirado
36
13%
Livre
3
Desenvolvedor 3
Classificação
(4)
Projetos
10
50%
Arbitragem
1
0% / 100%
Expirado
2
20%
Livre
4
Desenvolvedor 4
Classificação
(12)
Projetos
18
17%
Arbitragem
3
33% / 67%
Expirado
3
17%
Livre
5
Desenvolvedor 5
Classificação
(108)
Projetos
177
25%
Arbitragem
24
17% / 75%
Expirado
16
9%
Livre
6
Desenvolvedor 6
Classificação
(5)
Projetos
5
0%
Arbitragem
5
0% / 40%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(2672)
Projetos
3406
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(12)
Projetos
24
50%
Arbitragem
1
100% / 0%
Expirado
6
25%
Livre
9
Desenvolvedor 9
Classificação
(12)
Projetos
22
41%
Arbitragem
8
0% / 50%
Expirado
3
14%
Livre
10
Desenvolvedor 10
Classificação
(202)
Projetos
263
22%
Arbitragem
23
52% / 17%
Expirado
0
Trabalhando
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(9)
Projetos
14
43%
Arbitragem
1
100% / 0%
Expirado
2
14%
Trabalhando
13
Desenvolvedor 13
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Trabalhando
Publicou: 1 código
14
Desenvolvedor 14
Classificação
(27)
Projetos
33
36%
Arbitragem
0
Expirado
2
6%
Livre
15
Desenvolvedor 15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(43)
Projetos
50
60%
Arbitragem
2
100% / 0%
Expirado
1
2%
Trabalhando
Publicou: 5 códigos
17
Desenvolvedor 17
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(8)
Projetos
9
56%
Arbitragem
0
Expirado
0
Trabalhando
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 7 códigos
20
Desenvolvedor 20
Classificação
(3)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(4)
Projetos
6
17%
Arbitragem
1
100% / 0%
Expirado
2
33%
Livre
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(387)
Projetos
499
23%
Arbitragem
60
55% / 25%
Expirado
59
12%
Trabalhando
24
Desenvolvedor 24
Classificação
(48)
Projetos
57
35%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
25
Desenvolvedor 25
Classificação
(31)
Projetos
33
42%
Arbitragem
0
Expirado
3
9%
Livre
26
Desenvolvedor 26
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
27
Desenvolvedor 27
Classificação
(635)
Projetos
1005
47%
Arbitragem
33
36% / 36%
Expirado
99
10%
Trabalhando
Publicou: 6 códigos
28
Desenvolvedor 28
Classificação
(252)
Projetos
296
76%
Arbitragem
13
77% / 0%
Expirado
4
1%
Trabalhando
29
Desenvolvedor 29
Classificação
(54)
Projetos
102
23%
Arbitragem
12
25% / 17%
Expirado
13
13%
Livre
Pedidos semelhantes
【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

Informações sobre o projeto

Orçamento
50+ USD

Cliente

(3)
Pedidos postados15
Número de arbitragens0