Fix and optimize existing MT5 Expert Advisor.MQ5 source code

Specifiche

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.

Con risposta

1
Sviluppatore 1
Valutazioni
(111)
Progetti
184
25%
Arbitraggio
25
16% / 76%
In ritardo
16
9%
Gratuito
2
Sviluppatore 2
Valutazioni
(64)
Progetti
145
46%
Arbitraggio
21
38% / 24%
In ritardo
32
22%
Gratuito
3
Sviluppatore 3
Valutazioni
(13)
Progetti
20
40%
Arbitraggio
1
0% / 100%
In ritardo
1
5%
Gratuito
4
Sviluppatore 4
Valutazioni
(22)
Progetti
28
7%
Arbitraggio
9
33% / 33%
In ritardo
1
4%
In elaborazione
5
Sviluppatore 5
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(3)
Progetti
4
0%
Arbitraggio
1
100% / 0%
In ritardo
1
25%
Gratuito
7
Sviluppatore 7
Valutazioni
(34)
Progetti
35
40%
Arbitraggio
0
In ritardo
3
9%
Gratuito
8
Sviluppatore 8
Valutazioni
(185)
Progetti
199
47%
Arbitraggio
4
50% / 25%
In ritardo
1
1%
In elaborazione
9
Sviluppatore 9
Valutazioni
(13)
Progetti
23
39%
Arbitraggio
8
0% / 50%
In ritardo
4
17%
Gratuito
10
Sviluppatore 10
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
2
50% / 50%
In ritardo
2
25%
Gratuito
11
Sviluppatore 11
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
1
100%
Gratuito
14
Sviluppatore 14
Valutazioni
(3)
Progetti
1
0%
Arbitraggio
5
0% / 100%
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
16
Sviluppatore 16
Valutazioni
(3)
Progetti
9
67%
Arbitraggio
0
In ritardo
0
In elaborazione
17
Sviluppatore 17
Valutazioni
(21)
Progetti
28
36%
Arbitraggio
7
14% / 71%
In ritardo
2
7%
Gratuito
18
Sviluppatore 18
Valutazioni
(78)
Progetti
105
55%
Arbitraggio
5
80% / 20%
In ritardo
5
5%
Caricato
19
Sviluppatore 19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
20
Sviluppatore 20
Valutazioni
(634)
Progetti
741
34%
Arbitraggio
49
53% / 39%
In ritardo
14
2%
In elaborazione
21
Sviluppatore 21
Valutazioni
(10)
Progetti
12
33%
Arbitraggio
0
In ritardo
2
17%
In elaborazione
Pubblicati: 1 codice
22
Sviluppatore 22
Valutazioni
(852)
Progetti
1469
72%
Arbitraggio
123
28% / 47%
In ritardo
360
25%
In elaborazione
Pubblicati: 3 articoli
23
Sviluppatore 23
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
24
Sviluppatore 24
Valutazioni
(83)
Progetti
98
33%
Arbitraggio
9
22% / 56%
In ritardo
5
5%
In elaborazione
25
Sviluppatore 25
Valutazioni
(369)
Progetti
459
55%
Arbitraggio
24
58% / 17%
In ritardo
31
7%
In elaborazione
26
Sviluppatore 26
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
28
Sviluppatore 28
Valutazioni
(87)
Progetti
121
68%
Arbitraggio
5
80% / 0%
In ritardo
12
10%
In elaborazione
29
Sviluppatore 29
Valutazioni
(2)
Progetti
2
50%
Arbitraggio
0
In ritardo
0
Gratuito
30
Sviluppatore 30
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
31
Sviluppatore 31
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
32
Sviluppatore 32
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
33
Sviluppatore 33
Valutazioni
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
34
Sviluppatore 34
Valutazioni
(13)
Progetti
21
38%
Arbitraggio
0
In ritardo
1
5%
In elaborazione
35
Sviluppatore 35
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
36
Sviluppatore 36
Valutazioni
(33)
Progetti
36
33%
Arbitraggio
5
0% / 80%
In ritardo
0
In elaborazione
Pubblicati: 2 codici
37
Sviluppatore 37
Valutazioni
(4)
Progetti
4
100%
Arbitraggio
0
In ritardo
0
Gratuito
38
Sviluppatore 38
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
39
Sviluppatore 39
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
40
Sviluppatore 40
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
3
0% / 100%
In ritardo
1
100%
Gratuito
41
Sviluppatore 41
Valutazioni
(3)
Progetti
3
67%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 8 articoli, 3 codici
42
Sviluppatore 42
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 3 codici
43
Sviluppatore 43
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
44
Sviluppatore 44
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
45
Sviluppatore 45
Valutazioni
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
46
Sviluppatore 46
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
47
Sviluppatore 47
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
48
Sviluppatore 48
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
49
Sviluppatore 49
Valutazioni
(52)
Progetti
58
59%
Arbitraggio
4
0% / 25%
In ritardo
1
2%
Gratuito
50
Sviluppatore 50
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
51
Sviluppatore 51
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
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

Informazioni sul progetto

Budget
30 - 50 USD