Fix and optimize existing MT5 Expert Advisor.MQ5 source code

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(111)
Proyectos
184
25%
Arbitraje
25
16% / 76%
Caducado
16
9%
Libre
2
Desarrollador 2
Evaluación
(64)
Proyectos
145
46%
Arbitraje
21
38% / 24%
Caducado
32
22%
Libre
3
Desarrollador 3
Evaluación
(13)
Proyectos
20
40%
Arbitraje
1
0% / 100%
Caducado
1
5%
Libre
4
Desarrollador 4
Evaluación
(22)
Proyectos
28
7%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(3)
Proyectos
4
0%
Arbitraje
1
100% / 0%
Caducado
1
25%
Libre
7
Desarrollador 7
Evaluación
(34)
Proyectos
35
40%
Arbitraje
0
Caducado
3
9%
Libre
8
Desarrollador 8
Evaluación
(185)
Proyectos
199
47%
Arbitraje
4
50% / 25%
Caducado
1
1%
Trabaja
9
Desarrollador 9
Evaluación
(13)
Proyectos
23
39%
Arbitraje
8
0% / 50%
Caducado
4
17%
Libre
10
Desarrollador 10
Evaluación
(6)
Proyectos
8
38%
Arbitraje
2
50% / 50%
Caducado
2
25%
Libre
11
Desarrollador 11
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre
14
Desarrollador 14
Evaluación
(3)
Proyectos
1
0%
Arbitraje
5
0% / 100%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
16
Desarrollador 16
Evaluación
(3)
Proyectos
9
67%
Arbitraje
0
Caducado
0
Trabaja
17
Desarrollador 17
Evaluación
(21)
Proyectos
28
36%
Arbitraje
7
14% / 71%
Caducado
2
7%
Libre
18
Desarrollador 18
Evaluación
(78)
Proyectos
105
55%
Arbitraje
5
80% / 20%
Caducado
5
5%
Trabajando
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
20
Desarrollador 20
Evaluación
(634)
Proyectos
741
34%
Arbitraje
49
53% / 39%
Caducado
14
2%
Trabaja
21
Desarrollador 21
Evaluación
(10)
Proyectos
12
33%
Arbitraje
0
Caducado
2
17%
Trabaja
Ha publicado: 1 ejemplo
22
Desarrollador 22
Evaluación
(852)
Proyectos
1469
72%
Arbitraje
123
28% / 47%
Caducado
360
25%
Trabaja
Ha publicado: 3 artículos
23
Desarrollador 23
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
(83)
Proyectos
98
33%
Arbitraje
9
22% / 56%
Caducado
5
5%
Trabaja
25
Desarrollador 25
Evaluación
(369)
Proyectos
459
55%
Arbitraje
24
58% / 17%
Caducado
31
7%
Trabaja
26
Desarrollador 26
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
(87)
Proyectos
121
68%
Arbitraje
5
80% / 0%
Caducado
12
10%
Trabaja
29
Desarrollador 29
Evaluación
(2)
Proyectos
2
50%
Arbitraje
0
Caducado
0
Libre
30
Desarrollador 30
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
31
Desarrollador 31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
32
Desarrollador 32
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
33
Desarrollador 33
Evaluación
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
34
Desarrollador 34
Evaluación
(13)
Proyectos
21
38%
Arbitraje
0
Caducado
1
5%
Trabaja
35
Desarrollador 35
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
36
Desarrollador 36
Evaluación
(33)
Proyectos
36
33%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
37
Desarrollador 37
Evaluación
(4)
Proyectos
4
100%
Arbitraje
0
Caducado
0
Libre
38
Desarrollador 38
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
39
Desarrollador 39
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
40
Desarrollador 40
Evaluación
(1)
Proyectos
1
0%
Arbitraje
3
0% / 100%
Caducado
1
100%
Libre
41
Desarrollador 41
Evaluación
(3)
Proyectos
3
67%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 7 artículos, 3 ejemplos
42
Desarrollador 42
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 3 ejemplos
43
Desarrollador 43
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
44
Desarrollador 44
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
45
Desarrollador 45
Evaluación
(7)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
2
33%
Libre
46
Desarrollador 46
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
47
Desarrollador 47
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
48
Desarrollador 48
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
49
Desarrollador 49
Evaluación
(52)
Proyectos
58
59%
Arbitraje
4
0% / 25%
Caducado
1
2%
Libre
50
Desarrollador 50
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
51
Desarrollador 51
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I’m looking for an experienced MQL5 developer to build a custom MT5 Expert Advisor for gold scalping, based on clearly defined support/resistance levels and false breakouts. Before development, I would welcome your technical feedback on the proposed rules, their feasibility, and any improvements you recommend. Please explain the reasoning behind your suggestions rather than promising returns. Proposed strategy: 1
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
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

Información sobre el proyecto

Presupuesto
30 - 50 USD