MT5 EA Modification — Fix Lot Size Recovery & Trade Limit

Job finished

Execution time 4 minutes
Feedback from customer
Developer finished my EA perfectly on the first try. Works exactly as requested and I’m very happy with the results. Highly recommended!

Specification

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.


Responded

1
Developer 1
Rating
(68)
Projects
124
40%
Arbitration
17
47% / 53%
Overdue
31
25%
Loaded
2
Developer 2
Rating
(28)
Projects
31
45%
Arbitration
1
100% / 0%
Overdue
3
10%
Free
3
Developer 3
Rating
(15)
Projects
34
24%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
4
Developer 4
Rating
(452)
Projects
788
48%
Arbitration
70
17% / 53%
Overdue
139
18%
Working
5
Developer 5
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
(21)
Projects
27
4%
Arbitration
4
0% / 0%
Overdue
3
11%
Working
7
Developer 7
Rating
(106)
Projects
114
32%
Arbitration
3
33% / 33%
Overdue
2
2%
Working
8
Developer 8
Rating
Projects
2
0%
Arbitration
4
25% / 50%
Overdue
1
50%
Free
9
Developer 9
Rating
(1)
Projects
8
88%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(16)
Projects
22
14%
Arbitration
8
38% / 63%
Overdue
6
27%
Free
11
Developer 11
Rating
(1)
Projects
2
50%
Arbitration
3
0% / 33%
Overdue
0
Free
12
Developer 12
Rating
(305)
Projects
546
35%
Arbitration
79
32% / 42%
Overdue
196
36%
Working
13
Developer 13
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
16
Developer 16
Rating
(24)
Projects
30
13%
Arbitration
12
0% / 67%
Overdue
8
27%
Working
17
Developer 17
Rating
(491)
Projects
954
75%
Arbitration
26
19% / 65%
Overdue
100
10%
Loaded
Published: 1 article, 6 codes
18
Developer 18
Rating
(74)
Projects
79
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
19
Developer 19
Rating
(4)
Projects
7
43%
Arbitration
0
Overdue
2
29%
Free
20
Developer 20
Rating
(17)
Projects
21
10%
Arbitration
4
50% / 50%
Overdue
1
5%
Working
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(8)
Projects
12
33%
Arbitration
0
Overdue
3
25%
Working
23
Developer 23
Rating
(270)
Projects
552
49%
Arbitration
58
40% / 36%
Overdue
228
41%
Working
24
Developer 24
Rating
(8)
Projects
12
0%
Arbitration
22
0% / 77%
Overdue
4
33%
Free
25
Developer 25
Rating
(3)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
26
Developer 26
Rating
(5)
Projects
4
0%
Arbitration
2
50% / 50%
Overdue
2
50%
Free
Similar orders
Project Overview I am looking for an experienced MQL5 developer to build a custom, prop-firm-compliant trend-following Expert Advisor (EA) for MetaTrader 5 . This EA will be used on prop firm accounts (e.g., FTMO-style rules), so strict risk control and rule compliance are mandatory . This is NOT a grid, martingale, scalping, or recovery EA. The goal is consistency, rule compliance, and capital preservation , not
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
The robot will take buy trades when the 2 ema cross over the 10 ema and price has closed above the 50 ema. The take profit and stop loss can be set as an optional level by the user. The robot will take sell trades when the 2 ema cross under the 10 ema and price has closed under the 50 ema. The take profit and stop loss can be set as an optional level by the user. The entry timeframe will be 15 minutes, but it could
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering) Project context: I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price. Important: I do not have access to the
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
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave

Project information

Budget
30+ USD
Deadline
from 1 to 2 day(s)