Fix and optimize existing MT5 Expert Advisor.MQ5 source code

Spécifications

I have an existing MT5 Expert Advisor with the original MQ5 source code. I need an experienced MQL5 developer to review, debug and professionally improve the existing EA, not build an unrelated EA from scratch. The EA is mainly for XAUUSD and already contains entry signals, EMA filters, automatic lot sizing, basket profit management, spread/margin protection, news filtering and recovery logic. The main problem is the position management and recovery logic. Requirements: PROFIT FIRST: When an open trade/basket reaches a valid net-profit target, the EA should close and secure the profit instead of allowing a profitable position to return deeply into loss. HEDGE ONLY FOR EMERGENCY: Hedging must NOT be used during normal trading. The EA must not randomly open BUY and SELL positions against each other. Hedge/recovery should activate only when an existing position is genuinely trapped and predefined emergency conditions are met. SMART RECOVERY: Recovery must have a clear exit/unlock strategy. I do not want permanent BUY/SELL locking or uncontrolled opposite positions. The goal is controlled risk reduction and eventual basket exit. NO IMMEDIATE RE-ENTRY: If a position is manually closed, or the EA closes a basket, it must not immediately reopen the same trade. Add a proper cooldown/reset and require a fresh trading signal before re-entry. AUTOMATIC LOT SIZING: Position size should automatically adapt to account balance/equity and available margin. Small accounts must be protected from oversized positions. As the account grows, lot size may increase conservatively. RISK/EXPOSURE CONTROL: Before opening or adding positions, check free margin, margin level, current drawdown, total open lots and maximum account exposure. COMMISSION: My approximate trading commission is USD 11 per 1.00 lot round turn. Profit/basket calculations should consider estimated commission so the EA targets NET profit, not only gross floating profit. ROLLOVER PROTECTION: Stop new normal entries around 23:00 and resume around 01:15. Existing positions should be managed safely; do not simply close a losing position because the rollover period starts. NEWS/SPREAD PROTECTION: Prevent unsafe new entries during abnormal spread and important/high-impact news conditions where technically possible. Please inspect the complete existing MQ5 source code first and identify conflicts or bugs in the current entry, exit, hedge and recovery logic before modifying it. I need clean, maintainable MQ5 source code that compiles without errors, together with an explanation of the changes. The finished EA must be tested in MT5 Strategy Tester before delivery. Please do not promise guaranteed profits. My priority is robust position management, controlled risk, correct execution and predictable behavior.

Répondu

1
Développeur 1
Évaluation
(111)
Projets
184
25%
Arbitrage
25
16% / 76%
En retard
16
9%
Gratuit
2
Développeur 2
Évaluation
(64)
Projets
145
46%
Arbitrage
21
38% / 24%
En retard
32
22%
Gratuit
3
Développeur 3
Évaluation
(13)
Projets
20
40%
Arbitrage
1
0% / 100%
En retard
1
5%
Gratuit
4
Développeur 4
Évaluation
(22)
Projets
28
7%
Arbitrage
9
33% / 33%
En retard
1
4%
Travail
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(3)
Projets
4
0%
Arbitrage
1
100% / 0%
En retard
1
25%
Gratuit
7
Développeur 7
Évaluation
(34)
Projets
35
40%
Arbitrage
0
En retard
3
9%
Gratuit
8
Développeur 8
Évaluation
(185)
Projets
199
47%
Arbitrage
4
50% / 25%
En retard
1
1%
Travail
9
Développeur 9
Évaluation
(13)
Projets
23
39%
Arbitrage
8
0% / 50%
En retard
4
17%
Gratuit
10
Développeur 10
Évaluation
(6)
Projets
8
38%
Arbitrage
2
50% / 50%
En retard
2
25%
Gratuit
11
Développeur 11
Évaluation
(2)
Projets
2
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
12
Développeur 12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
1
100%
Gratuit
14
Développeur 14
Évaluation
(3)
Projets
1
0%
Arbitrage
5
0% / 100%
En retard
0
Gratuit
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 1 code
16
Développeur 16
Évaluation
(3)
Projets
9
67%
Arbitrage
0
En retard
0
Travail
17
Développeur 17
Évaluation
(21)
Projets
28
36%
Arbitrage
7
14% / 71%
En retard
2
7%
Gratuit
18
Développeur 18
Évaluation
(78)
Projets
105
55%
Arbitrage
5
80% / 20%
En retard
5
5%
Chargé
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 1 code
20
Développeur 20
Évaluation
(634)
Projets
741
34%
Arbitrage
49
53% / 39%
En retard
14
2%
Travail
21
Développeur 21
Évaluation
(10)
Projets
12
33%
Arbitrage
0
En retard
2
17%
Travail
Publié : 1 code
22
Développeur 22
Évaluation
(852)
Projets
1469
72%
Arbitrage
123
28% / 47%
En retard
360
25%
Travail
Publié : 3 articles
23
Développeur 23
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
24
Développeur 24
Évaluation
(83)
Projets
98
33%
Arbitrage
9
22% / 56%
En retard
5
5%
Travail
25
Développeur 25
Évaluation
(369)
Projets
459
55%
Arbitrage
24
58% / 17%
En retard
31
7%
Travail
26
Développeur 26
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
27
Développeur 27
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
28
Développeur 28
Évaluation
(87)
Projets
121
68%
Arbitrage
5
80% / 0%
En retard
12
10%
Travail
29
Développeur 29
Évaluation
(2)
Projets
2
50%
Arbitrage
0
En retard
0
Gratuit
30
Développeur 30
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
31
Développeur 31
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
32
Développeur 32
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
33
Développeur 33
Évaluation
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
34
Développeur 34
Évaluation
(13)
Projets
21
38%
Arbitrage
0
En retard
1
5%
Travail
35
Développeur 35
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
36
Développeur 36
Évaluation
(33)
Projets
36
33%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
37
Développeur 37
Évaluation
(4)
Projets
4
100%
Arbitrage
0
En retard
0
Gratuit
38
Développeur 38
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
39
Développeur 39
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
40
Développeur 40
Évaluation
(1)
Projets
1
0%
Arbitrage
3
0% / 100%
En retard
1
100%
Gratuit
41
Développeur 41
Évaluation
(3)
Projets
3
67%
Arbitrage
0
En retard
0
Gratuit
Publié : 8 articles, 3 codes
42
Développeur 42
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 3 codes
43
Développeur 43
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
44
Développeur 44
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
45
Développeur 45
Évaluation
(7)
Projets
6
0%
Arbitrage
4
25% / 75%
En retard
2
33%
Gratuit
46
Développeur 46
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
47
Développeur 47
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
48
Développeur 48
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
49
Développeur 49
Évaluation
(52)
Projets
58
59%
Arbitrage
4
0% / 25%
En retard
1
2%
Gratuit
50
Développeur 50
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
51
Développeur 51
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Espert 30+ USD
I want to create a robot with 10 indicators.All to take a trade and all in stop folowing. Thanks to put in THE PARAMETERS Yes/No for the indicators to entry in position AND to the stop A trade with 2 takes profit and a breakeaven at the first TP. The goal is to be able to try the multiple combinations with these indicators
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth

Informations sur le projet

Budget
30 - 50 USD