MT5 EA Modification — Fix Lot Size Recovery & Trade Limit

工作已完成

执行时间4 分钟
客户反馈
Developer finished my EA perfectly on the first try. Works exactly as requested and I’m very happy with the results. Highly recommended!

指定

I already have an MT5 EA developed, but it has an error in the lot size calculation for loss recovery. I need an experienced MQL5 coder to modify the existing EA to implement the correct lot size recovery logic.


What I need:


  • Fix the lot size calculation so the EA increases lot size correctly after a losing trade to cover the previous loss plus the fixed profit target.
  • Lot size must be calculated using this formula:
    LotSize = (PreviousLoss + ProfitTarget) / (TakeProfitPips * PipValue)
  • Take profit pips remain fixed; only lot size changes.
  • After recovering losses and hitting the profit target, lot size resets to the default base lot.
  • The EA trades only one position at a time based on existing signals or EMA crossover logic.
  • The EA currently has an option to limit the number of trades opened simultaneously — this feature should be maintained or fixed if necessary.
  • Please follow the formula and logic precisely; no guessing.



If you have experience fixing/modifying money management and trade control in MT5 EAs, please get in touch.


反馈

1
开发者 1
等级
(68)
项目
127
41%
仲裁
19
47% / 53%
逾期
33
26%
空闲
2
开发者 2
等级
(28)
项目
31
45%
仲裁
1
100% / 0%
逾期
3
10%
空闲
3
开发者 3
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
4
开发者 4
等级
(465)
项目
813
49%
仲裁
75
21% / 51%
逾期
141
17%
工作中
5
开发者 5
等级
(2)
项目
2
0%
仲裁
1
0% / 100%
逾期
0
空闲
6
开发者 6
等级
(22)
项目
29
3%
仲裁
4
25% / 0%
逾期
3
10%
工作中
7
开发者 7
等级
(176)
项目
188
46%
仲裁
3
33% / 33%
逾期
1
1%
已载入
8
开发者 8
等级
项目
2
0%
仲裁
4
25% / 50%
逾期
1
50%
空闲
9
开发者 9
等级
(1)
项目
8
88%
仲裁
0
逾期
0
空闲
10
开发者 10
等级
(16)
项目
22
14%
仲裁
8
38% / 63%
逾期
6
27%
空闲
11
开发者 11
等级
(1)
项目
2
50%
仲裁
3
0% / 33%
逾期
0
空闲
12
开发者 12
等级
(319)
项目
568
35%
仲裁
82
30% / 45%
逾期
206
36%
已载入
13
开发者 13
等级
(14)
项目
19
11%
仲裁
1
0% / 100%
逾期
5
26%
空闲
14
开发者 14
等级
项目
0
0%
仲裁
0
逾期
0
空闲
15
开发者 15
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
16
开发者 16
等级
(25)
项目
31
13%
仲裁
13
0% / 77%
逾期
9
29%
空闲
17
开发者 17
等级
(510)
项目
977
74%
仲裁
27
19% / 67%
逾期
100
10%
工作中
发布者: 1 文章, 6 代码
18
开发者 18
等级
(75)
项目
80
6%
仲裁
46
11% / 54%
逾期
7
9%
工作中
19
开发者 19
等级
(4)
项目
7
43%
仲裁
0
逾期
2
29%
空闲
20
开发者 20
等级
(22)
项目
28
7%
仲裁
9
33% / 33%
逾期
1
4%
工作中
21
开发者 21
等级
项目
0
0%
仲裁
0
逾期
0
空闲
22
开发者 22
等级
(10)
项目
14
43%
仲裁
0
逾期
3
21%
空闲
23
开发者 23
等级
(271)
项目
553
50%
仲裁
57
40% / 37%
逾期
227
41%
工作中
24
开发者 24
等级
(10)
项目
13
0%
仲裁
24
0% / 75%
逾期
4
31%
工作中
25
开发者 25
等级
(3)
项目
2
0%
仲裁
1
0% / 100%
逾期
0
空闲
26
开发者 26
等级
(7)
项目
6
0%
仲裁
4
25% / 75%
逾期
2
33%
空闲
相似订单
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured

项目信息

预算
30+ USD
截止日期
 1  2 天