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 article, 6 codes
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
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
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing

プロジェクト情報

予算
30+ USD
締め切り
最低 1 最高 2 日