MT5 EA Modification — Fix Lot Size Recovery & Trade Limit

Specifiche

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.


Con risposta

1
Sviluppatore 1
Valutazioni
(65)
Progetti
118
39%
Arbitraggio
15
47% / 53%
In ritardo
29
25%
Caricato
2
Sviluppatore 2
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
In elaborazione
3
Sviluppatore 3
Valutazioni
(15)
Progetti
34
24%
Arbitraggio
3
0% / 33%
In ritardo
2
6%
In elaborazione
4
Sviluppatore 4
Valutazioni
(422)
Progetti
744
49%
Arbitraggio
61
16% / 49%
In ritardo
136
18%
In elaborazione
5
Sviluppatore 5
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(11)
Progetti
13
0%
Arbitraggio
1
0% / 0%
In ritardo
1
8%
In elaborazione
7
Sviluppatore 7
Valutazioni
(28)
Progetti
30
7%
Arbitraggio
2
50% / 50%
In ritardo
2
7%
Caricato
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
3
0% / 0%
In ritardo
0
In elaborazione
9
Sviluppatore 9
Valutazioni
(1)
Progetti
3
67%
Arbitraggio
0
In ritardo
0
In elaborazione
10
Sviluppatore 10
Valutazioni
(11)
Progetti
16
19%
Arbitraggio
5
40% / 60%
In ritardo
4
25%
Caricato
11
Sviluppatore 11
Valutazioni
Progetti
1
100%
Arbitraggio
2
0% / 0%
In ritardo
0
In elaborazione
12
Sviluppatore 12
Valutazioni
(287)
Progetti
517
36%
Arbitraggio
62
34% / 35%
In ritardo
187
36%
Caricato
13
Sviluppatore 13
Valutazioni
(14)
Progetti
19
11%
Arbitraggio
1
0% / 100%
In ritardo
5
26%
Gratuito
14
Sviluppatore 14
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(572)
Progetti
943
47%
Arbitraggio
303
59% / 25%
In ritardo
125
13%
In elaborazione
16
Sviluppatore 16
Valutazioni
(3)
Progetti
3
33%
Arbitraggio
2
0% / 0%
In ritardo
0
Caricato
17
Sviluppatore 17
Valutazioni
(459)
Progetti
903
77%
Arbitraggio
25
16% / 68%
In ritardo
100
11%
Gratuito
Pubblicati: 1 articolo, 6 codici
18
Sviluppatore 18
Valutazioni
(66)
Progetti
73
5%
Arbitraggio
33
15% / 36%
In ritardo
6
8%
In elaborazione
19
Sviluppatore 19
Valutazioni
(3)
Progetti
5
20%
Arbitraggio
0
In ritardo
3
60%
In elaborazione
20
Sviluppatore 20
Valutazioni
(7)
Progetti
7
29%
Arbitraggio
0
In ritardo
0
Caricato
21
Sviluppatore 21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(5)
Progetti
8
13%
Arbitraggio
0
In ritardo
0
In elaborazione
23
Sviluppatore 23
Valutazioni
(270)
Progetti
550
49%
Arbitraggio
55
40% / 36%
In ritardo
227
41%
In elaborazione
24
Sviluppatore 24
Valutazioni
(8)
Progetti
12
0%
Arbitraggio
21
0% / 81%
In ritardo
4
33%
Gratuito
25
Sviluppatore 25
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
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
Hi I have a pine script that I want to change to Mql5 ea. The script uses ZigZag to adentify entries and Fibonaci to do exits. I would like to add a very leint stoploss to the ea as it does go into to drawdown sometimes befor it hits take profit. I would lke to call it Dragonfly EA
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
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
Hello I need an already built MT4 EA or HFX with upto 80-90 % win rate, it will be able to trade on any prop firm broker both on Demo challenges and on live. Please if you have any Ea with this specification kindly send it for 1 week testing ASAP. Thank you

Informazioni sul progetto

Budget
30+ USD
Scadenze
da 1 a 2 giorno(i)

Cliente

(2)
Ordini effettuati5
Numero di arbitraggi0