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

指定

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

反馈

1
开发者 1
等级
(15)
项目
19
16%
仲裁
5
40% / 40%
逾期
0
空闲
2
开发者 2
等级
(12)
项目
19
37%
仲裁
1
0% / 100%
逾期
1
5%
空闲
3
开发者 3
等级
(70)
项目
99
52%
仲裁
24
21% / 54%
逾期
8
8%
工作中
4
开发者 4
等级
(10)
项目
14
21%
仲裁
3
33% / 67%
逾期
1
7%
工作中
5
开发者 5
等级
(542)
项目
624
33%
仲裁
37
38% / 51%
逾期
11
2%
繁忙
6
开发者 6
等级
(516)
项目
784
63%
仲裁
33
27% / 45%
逾期
23
3%
空闲
发布者: 1 代码
7
开发者 7
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
8
开发者 8
等级
(6)
项目
6
0%
仲裁
2
50% / 0%
逾期
1
17%
空闲
9
开发者 9
等级
(3)
项目
3
33%
仲裁
0
逾期
0
工作中
10
开发者 10
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
MT5 EA 30 - 60 USD
Hi i want a professional developer who can create me Ea based on candle sticks and high and lows , i have full specifications what exactly i want to be in my Ea , the inputs and how it should work and i will also tell u what type of panel i want for proper detailed specifications message me only professional developers
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
Project Summary We are looking for a highly experienced MetaTrader 5 (MT5) developer to build a pattern-based Expert Advisor (EA) focused on low-time-interval automation (15-second & 30-second logic). This is a pure MT5 project — no external platforms, no shortcuts. It should be very clean ,Efficient ,Precised ,Accurate ,No copy paste ,Low latency. If you have real experience with MT5 tick-based logic and
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Project Summary We are looking for a highly experienced MetaTrader 5 (MT5) developer to build a pattern-based Expert Advisor (EA) focused on low-time-interval automation (15-second & 30-second logic). This is a pure MT5 project — no external platforms, no shortcuts. The selected freelancer will handle the project end-to-end, from strategy implementation to deployment and stability. If you have real experience with
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi

项目信息

预算
30+ USD

客户

所下订单1
仲裁计数0