MT5 EA Modification — Fix Lot Size Recovery & Trade Limit

Tarea técnica

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.


Han respondido

1
Desarrollador 1
Evaluación
(65)
Proyectos
118
39%
Arbitraje
15
47% / 53%
Caducado
29
25%
Trabajando
2
Desarrollador 2
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabaja
3
Desarrollador 3
Evaluación
(15)
Proyectos
34
24%
Arbitraje
3
0% / 33%
Caducado
2
6%
Trabaja
4
Desarrollador 4
Evaluación
(422)
Proyectos
744
49%
Arbitraje
61
16% / 49%
Caducado
136
18%
Trabaja
5
Desarrollador 5
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(11)
Proyectos
13
0%
Arbitraje
1
0% / 0%
Caducado
1
8%
Trabaja
7
Desarrollador 7
Evaluación
(28)
Proyectos
30
7%
Arbitraje
2
50% / 50%
Caducado
2
7%
Trabajando
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
3
0% / 0%
Caducado
0
Trabaja
9
Desarrollador 9
Evaluación
(1)
Proyectos
3
67%
Arbitraje
0
Caducado
0
Trabaja
10
Desarrollador 10
Evaluación
(11)
Proyectos
16
19%
Arbitraje
5
40% / 60%
Caducado
4
25%
Trabajando
11
Desarrollador 11
Evaluación
Proyectos
1
100%
Arbitraje
2
0% / 0%
Caducado
0
Trabaja
12
Desarrollador 12
Evaluación
(287)
Proyectos
517
36%
Arbitraje
62
34% / 35%
Caducado
187
36%
Trabajando
13
Desarrollador 13
Evaluación
(14)
Proyectos
19
11%
Arbitraje
1
0% / 100%
Caducado
5
26%
Libre
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(572)
Proyectos
943
47%
Arbitraje
303
59% / 25%
Caducado
125
13%
Trabaja
16
Desarrollador 16
Evaluación
(3)
Proyectos
3
33%
Arbitraje
2
0% / 0%
Caducado
0
Trabajando
17
Desarrollador 17
Evaluación
(459)
Proyectos
903
77%
Arbitraje
25
16% / 68%
Caducado
100
11%
Libre
Ha publicado: 1 artículo, 6 ejemplos
18
Desarrollador 18
Evaluación
(66)
Proyectos
73
5%
Arbitraje
33
15% / 36%
Caducado
6
8%
Trabaja
19
Desarrollador 19
Evaluación
(3)
Proyectos
5
20%
Arbitraje
0
Caducado
3
60%
Trabaja
20
Desarrollador 20
Evaluación
(7)
Proyectos
7
29%
Arbitraje
0
Caducado
0
Trabajando
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(5)
Proyectos
8
13%
Arbitraje
0
Caducado
0
Trabaja
23
Desarrollador 23
Evaluación
(270)
Proyectos
550
49%
Arbitraje
55
40% / 36%
Caducado
227
41%
Trabaja
24
Desarrollador 24
Evaluación
(8)
Proyectos
12
0%
Arbitraje
21
0% / 81%
Caducado
4
33%
Libre
Solicitudes similares
I'm looking for someone who can help me create an EA that can both backtest and trade automatically according to a specific strategy that I've developed myself. The strategy is NOT based on any indicator but rather on market structure regarding higher highs, lower lows, liquidity etc. I need someone who has done such EA's before and have a deep experience
Category: Trading robots (Expert Advisors) Platform: MetaTrader 5 Budget: $300 (fixed) Description: I need an experienced MQL5 developer to build a **high-performance scalper EA** for MT5 designed to **pass a prop firm challenge within one week** while fully complying with prop firm rules (daily drawdown, max loss, profit target). This is a paid job with a strict requirement for **full source code delivery and IP
JOB DESCRIPTION We are building a cloud-based, self-sustaining trading algorithm designed to operate autonomously with minimal supervision. The system should leverage AI to analyze real-time market data and news, make trading decisions across multiple asset classes, and adapt dynamically to changing conditions. OBJECTIVES 1. Generate consistent returns (target \~10% monthly +- 2%) 2. Maintain strict drawdown control
Hello expert developer how are you doing I need a trading view indicator converted to NT8, and automate trading with a set of rules. Would you like to discuss this? The indicator is Range Filtered Trend Signals by AlgoAlpha - attached are some notes. Thanks
I am looking for an experienced MQL5 developer to create a fast and accurate scalping Expert Advisor for XAU/USD (Gold) on MetaTrader 5. The EA must operate with continuous trading , high trade frequency, and minimal delay in execution. Key Requirements: Trading Style: Scalping on M1 and M5 timeframes. Works best during high volatility sessions (London & New York). Indicators Used: EMA (Fast & Slow) for trend
Hello, I’m looking for a skilled developer to create a Telegram-to-MT4 & MT5 signal copier bot/EA with the following features: Core Features: Copy signals (both text and images) from Telegram and execute trades in MT4 and MT5 (two separate versions). AI parsing mode: Option to enable AI to read and interpret signals before execution. Fully optimized, stable, and bug-free performance. Prop firm compatibility
Modify bot mt5 100+ USD
i nee a change the bot velocity vector 2.0 modification indicator profitable ems trading bot I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Hello Great developer There's also the GPT AI EA, right? It does this automatically. I know there's such a thing. I saw it somewhere online, but not everyone can do it, or it's very difficult to get someone to provide it! So it should open with buy or sell according to AI (AI), just like the market analysis, and close accordingly according to TSL! Ideally, it should automatically replace the risk management based on
Hello to all developers, I want an EA (Expert Advisor) that is already made. This is for forex. I want to add to it. I will provide my strategy. I want to explain my strategy on a zoom call. It needs to have the ability to trade different trading pairs. It needs to show risk reward profitability with little drawdown. Let me know. I want to add a few things to it. I need to use it on trading view. Include EA that
The EA should trade major pairs( XAUUSD, EURUSD, GBPUSD etc) The EA should have very low drawdown and very profitable. The EA should be able to trade on all brokers and account types. The EA should have a history of more than 6 months on real account or demo account (investor password). The EA tester results should match real market trading. Demo EA should be provided for testing. The EA Mql5/Mql4 file should be

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
de 1 a 2 día(s)

Cliente

(2)
Encargos realizados5
Número de arbitrajes0