MT5 EA Modification — Fix Lot Size Recovery & Trade Limit

İş Gereklilikleri

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.


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(65)
Projeler
118
39%
Arabuluculuk
15
47% / 53%
Süresi dolmuş
29
25%
Yüklendi
2
Geliştirici 2
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
3
Geliştirici 3
Derecelendirme
(15)
Projeler
34
24%
Arabuluculuk
3
0% / 33%
Süresi dolmuş
2
6%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(422)
Projeler
744
49%
Arabuluculuk
61
16% / 49%
Süresi dolmuş
136
18%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(11)
Projeler
13
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
1
8%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(28)
Projeler
30
7%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
7%
Yüklendi
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
3
0% / 0%
Süresi dolmuş
0
Çalışıyor
9
Geliştirici 9
Derecelendirme
(1)
Projeler
3
67%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
10
Geliştirici 10
Derecelendirme
(11)
Projeler
16
19%
Arabuluculuk
5
40% / 60%
Süresi dolmuş
4
25%
Yüklendi
11
Geliştirici 11
Derecelendirme
Projeler
1
100%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
0
Çalışıyor
12
Geliştirici 12
Derecelendirme
(287)
Projeler
517
36%
Arabuluculuk
62
34% / 35%
Süresi dolmuş
187
36%
Yüklendi
13
Geliştirici 13
Derecelendirme
(14)
Projeler
19
11%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
5
26%
Serbest
14
Geliştirici 14
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(572)
Projeler
943
47%
Arabuluculuk
303
59% / 25%
Süresi dolmuş
125
13%
Çalışıyor
16
Geliştirici 16
Derecelendirme
(3)
Projeler
3
33%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
0
Yüklendi
17
Geliştirici 17
Derecelendirme
(459)
Projeler
903
77%
Arabuluculuk
25
16% / 68%
Süresi dolmuş
100
11%
Serbest
Yayınlandı: 1 makale, 6 kod
18
Geliştirici 18
Derecelendirme
(66)
Projeler
73
5%
Arabuluculuk
33
15% / 36%
Süresi dolmuş
6
8%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(3)
Projeler
5
20%
Arabuluculuk
0
Süresi dolmuş
3
60%
Çalışıyor
20
Geliştirici 20
Derecelendirme
(7)
Projeler
7
29%
Arabuluculuk
0
Süresi dolmuş
0
Yüklendi
21
Geliştirici 21
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
22
Geliştirici 22
Derecelendirme
(5)
Projeler
8
13%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
23
Geliştirici 23
Derecelendirme
(270)
Projeler
550
49%
Arabuluculuk
55
40% / 36%
Süresi dolmuş
227
41%
Çalışıyor
24
Geliştirici 24
Derecelendirme
(8)
Projeler
12
0%
Arabuluculuk
21
0% / 81%
Süresi dolmuş
4
33%
Serbest
Benzer siparişler
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

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
from 1 to 2 gün

Müşteri

(2)
Verilmiş siparişler5
Arabuluculuk sayısı0