Tarea técnica

Task Title
Implement Martingale Lot Scaling Sync Between Master and Slave MT4 Trade Copier

Background
I am using a local master–slave trade copier setup with:

1 Master MT4

4 Slave MT4 terminals

Trades are currently copied correctly (entry, direction, symbol, SL/TP).

Lot size handling currently copies either:

the exact master lot, or

a fixed base lot defined on the slave (e.g., always 0.01 or 1.0).

Problem
When the master uses a martingale strategy, the slave does NOT follow the same lot-scaling logic.

Current Behavior
Example:

Master trades: 0.1 → 0.5 → 0.9

Slave (base lot = 1):
❌ Opens 1 → 1 → 1
❌ Or copies exact lot 0.1 → 0.5 → 0.9

This breaks martingale proportionality and risk alignment.

Required Change (Core Requirement)
The slave must follow the master’s martingale multiplier, not just the raw lot size.

Desired Behavior
The lot progression ratio on master must be mirrored on slave, scaled by the slave base lot.

Example 1
Master base lot: 0.1

Slave base lot: 1.0

Master Lot Multiplier Slave Lot
0.1 1.0
0.5 5.0
0.9 9.0
Example 2
Master base lot: 0.01

Slave base lot: 0.1

Master Lot Multiplier Slave Lot
0.01 0.1
0.03 0.3
0.09 0.9

write prompt for this funcation whare i have slave code i will give code implemt that features

Han respondido

1
Desarrollador 1
Evaluación
(15)
Proyectos
19
16%
Arbitraje
5
40% / 40%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(13)
Proyectos
20
40%
Arbitraje
1
0% / 100%
Caducado
1
5%
Libre
3
Desarrollador 3
Evaluación
(75)
Proyectos
111
50%
Arbitraje
26
31% / 50%
Caducado
9
8%
Libre
4
Desarrollador 4
Evaluación
(10)
Proyectos
15
20%
Arbitraje
5
40% / 40%
Caducado
1
7%
Trabaja
5
Desarrollador 5
Evaluación
(580)
Proyectos
671
32%
Arbitraje
42
45% / 45%
Caducado
12
2%
Trabajando
6
Desarrollador 6
Evaluación
(543)
Proyectos
824
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
8
Desarrollador 8
Evaluación
(8)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
1
13%
Trabaja
9
Desarrollador 9
Evaluación
(6)
Proyectos
7
14%
Arbitraje
1
0% / 100%
Caducado
1
14%
Libre
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(258)
Proyectos
265
29%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
12
Desarrollador 12
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
13
Desarrollador 13
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(2)
Proyectos
3
33%
Arbitraje
1
0% / 100%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(199)
Proyectos
255
21%
Arbitraje
23
48% / 17%
Caducado
0
Trabaja
16
Desarrollador 16
Evaluación
(52)
Proyectos
58
59%
Arbitraje
4
0% / 25%
Caducado
1
2%
Libre
17
Desarrollador 17
Evaluación
(605)
Proyectos
681
42%
Arbitraje
2
100% / 0%
Caducado
1
0%
Trabaja
Ha publicado: 9 ejemplos
18
Desarrollador 18
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
Solicitudes similares
MT4/MT5 TRADES MANAGERS s PART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage of Lot size =--% f
MT5 EA Developer for Structured ICT/SMC Market Logic Requirements Specification: I need an MT5 Expert Advisor only in MQL5. No indicator, no script, no DLL, and no external API. The EA must be built on a rule-based ICT/SMC-style framework with objective, backtestable logic. I am not looking for social-media-style ICT/SMC interpretation. I need a developer who can convert trading concepts into clear coding rules. The
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
OBJETIVO Criar um Expert Advisor MT5 profissional para XAUUSD focado em: Consistência Baixo drawdown Scalping profissional Proteção da conta Crescimento sustentável Compatibilidade com conta micro e prop firms NÃO utilizar: Martingale Grid Hedge agressivo Recovery system Multiplicação de lotes após perda --- ATIVO XAUUSD apenas --- TIMEFRAMES Timeframe principal M5 Confirmação tendência M15 Confirmação macro opcional
I need a very advanced and intelligent MT5 Expert Advisor coded in MQL5 for XAUUSD, based on ICT + CRT + Smart Money Concepts. The goal is not a simple robot, but a professional decision-making system with strong filters, risk control, and high-quality trade selection. The EA must include: 1. Multi-Timeframe Analysis - D1 / H4 / H1 bias - M15 / M5 entry confirmation - Bullish or bearish market structure - BOS, CHoCH
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity
I am looking for an experienced developer in MQL5 to build a fully AI and automated trading bot (Expert Advisor) for MetaTrader 5. The EA will trade XAUUSD only and will be based purely on price action and Smart Money Concepts (SMC), specifically focusing on liquidity sweeps, market structure shifts (MSS/CHoCH), and wick rejection entries at key points of interest (POIs). The system must follow a strict rule: no
Gold Precision Pro 30 - 100 USD
I want the indicator to be built professionally and carefully because the strategy is strong, but it requires advanced and clean programming. The indicator should work mainly on XAUUSD M15 and should generate more than 2 high-quality signals per day, ideally around 2 to 4 signals maximum, without flooding the chart. The logic must not be random. Each signal must be based on: HTF Bias from H1/H4, Liquidity Sweep

Información sobre el proyecto

Presupuesto
30+ USD