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
110
51%
Arbitraje
25
28% / 52%
Caducado
9
8%
Trabaja
4
Desarrollador 4
Evaluación
(10)
Proyectos
15
20%
Arbitraje
4
50% / 50%
Caducado
1
7%
Libre
5
Desarrollador 5
Evaluación
(563)
Proyectos
651
33%
Arbitraje
41
41% / 46%
Caducado
11
2%
Ocupado
6
Desarrollador 6
Evaluación
(538)
Proyectos
814
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
(6)
Proyectos
6
0%
Arbitraje
2
50% / 0%
Caducado
1
17%
Libre
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
(255)
Proyectos
262
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
12
Desarrollador 12
Evaluación
(296)
Proyectos
475
40%
Arbitraje
105
40% / 24%
Caducado
80
17%
Ocupado
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
(187)
Proyectos
243
20%
Arbitraje
22
50% / 18%
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
(591)
Proyectos
667
41%
Arbitraje
2
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 9 ejemplos
18
Desarrollador 18
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
Solicitudes similares
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
Seeking developer service to code an EA. Interested developer must have good experience and understanding on how ORB and FVG works, and agreed to the terms below : 1. Shall demonstrate a fully functional EA that operates as specified in the requirement and function automatically as requested in real-time environment (forward test - demo/live), regardless of good results obtained in strategy-tester. Backtesting
Need trading robot 50 - 70 USD
I need a robot for trading gold and currencies . I need to use it with metatrader 4 and 5 . My budget is not high . Max . 70 USD. I need to be able to start and stop it at any time without restrictions
am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes . The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
Title: MT5 EA Needed – Prop‑Firm Compliance Tool (SL/TP at Entry, 60‑Second Hold, Daily Profit Cap, 0.5% XAUUSD Risk) Description: I need an MT5 Expert Advisor that enforces prop‑firm compliance rules for Instant Funding accounts. The EA must NOT trade automatically — it should only monitor and control my manual XAUUSD trading. I trade all sessions, so there should be no time restrictions. MY TRADING STYLE (Important
​1. Project Overview ​ Asset: XAUUSD (Gold) ​ Timeframe: M1 (1-Minute) for execution; M5/M15 for trend filtering. ​ Objective: Execute high-frequency scalps during peak liquidity (London/NY overlap) to capture 10–30 pip movements with high precision. ​ Core Logic: The "Poverty Bot" strategy relies on Mean Reversion combined with Momentum Burst (Price Action + RSI/EMA filters). ​2. Strategy Logic (The "Poverty"
Simple MA indicator with buy and sell arrow with a push notification. Conditions for buy or sell should be when price breaks above or below the MA and then retraced back to the MA creating a HH/HL or LH/LL then the buy/sell signal arrow should be at the reversal candle that forms the HL/HH. And on indicator window1 RSI cross over MA and the RSI line
I need any highly profitable robot which can trade small account like 50-100USD and any currency pair(s) The robot should avoid trading around news time and have good risk management. It should use any strategy which is profitable and not those unacceptable by brokers. Demo versions will be required before selection
I need a high-speed Expert Advisor (EA) for MT5 designed specifically for XAUUSD (Gold) scalping. The bot should focus on fast entries and quick profits with high efficiency. Main requirements: 1. Symbol: XAUUSD (Gold only). 2. Platform: MetaTrader 5. 3. Strategy type: Scalping (fast trades, quick profit). 4. The bot should open trades frequently based on fast market movements. 5. Small Take Profit (quick profit
Gold_m1_ob_bot. 30+ USD
import MetaTrader5 as mt5 import pandas as pd import time from datetime import datetime # ================== CONFIG ================== SYMBOL = "XAUUSD" TIMEFRAME = mt5.TIMEFRAME_M1 LOT = 0.01 MAX_OBS = 12 # keeps signals frequent ATR_PERIOD = 14 IMPULSE_FACTOR = 1.5 # strong candle = impulse SESSION_START = 8 # GMT (London open) SESSION_END = 20 # GMT (NY close) MAX_SPREAD = 30 #

Información sobre el proyecto

Presupuesto
30+ USD