Add Smart Early Exit Logic to Existing XAUUSD M15 EA

Техническое задание

I am looking for an experienced MQL5 developer to research, develop, and integrate a Smart Early Exit system into my existing XAUUSD EA.

The EA is already fully functional. The objective of this job is not to redesign the strategy or modify the entry logic, but to improve how losing trades are managed.

The Early Exit system should identify trades that are showing signs of genuine deterioration and close them before they reach the full Stop Loss, while avoiding unnecessary closure of trades that are temporarily negative but could still recover.

Current Baseline Performance

Backtest period: 01/01/2025 – 31/08/2026

  • Profit Factor: 1.42
  • Total Trades: 2,820
  • Average Win Rate: ~88%
  • Recovery Factor: 3.78
  • Biggest Losing Trade:-12 164.45
  • Biggest Winning Trade:
    5 990.00

The developer will receive the original EA and the baseline backtest/settings used for comparison.

Main Objective

Develop an Early Exit system focused specifically on reducing the impact of losing trades.

The system should distinguish, as much as reasonably possible, between:

  • Normal temporary drawdown that later recovers
  • Genuine trade deterioration that is likely to result in a large loss or full Stop Loss

Possible approaches may include market structure, adverse price movement, volatility/ATR, momentum deterioration, trend deterioration, time in trade, MAE/MFE analysis, or a combination of limited and explainable conditions.

I am open to the developer proposing the most appropriate approach after analyzing the EA and its trade behaviour.

Performance Targets

After implementation, the target is:

  • Profit Factor: ≥ 1.58
  • Recovery Factor: ≥ 3.80
  • Win Rate: 75–80% is acceptable
  • Reduce the biggest losing trade by approximately 10–20%
  • Preserve the biggest winning trade as much as possible
  • Avoid materially increasing Drawdown
  • Avoid excessive reduction in trade frequency

These figures should be treated as optimization/validation targets rather than achieved by simply over-optimizing the backtest.

Important Restrictions

The following parts of the EA should remain unchanged unless explicitly agreed:

  • Entry logic
  • BUY/SELL entry conditions
  • Trading sessions
  • Core strategy logic

The work should focus on trade management and Early Exit logic only.

The Early Exit should primarily affect trades that are already in loss or showing clear deterioration. Profitable trades should not be unnecessarily closed by the new system.

Validation

I want the developer to compare the original EA against the modified EA using the same historical period and settings.

I also prefer the final solution to be validated on Out-of-Sample data or another reasonable validation method to reduce the risk of overfitting.

The final delivery should include:

  • Modified MQL5 source code
  • Early Exit parameters/settings
  • Explanation of the implemented Early Exit logic
  • Before/after backtest comparison
  • Profit Factor
  • Recovery Factor
  • Win Rate
  • Total Trades
  • Maximum Drawdown
  • Biggest Winning Trade
  • Biggest Losing Trade
  • Number/percentage of trades closed by the Early Exit system



Откликнулись

1
Разработчик 1
Оценка
(622)
Проекты
726
34%
Арбитраж
47
49% / 40%
Просрочено
14
2%
Загружен
2
Разработчик 2
Оценка
(398)
Проекты
516
23%
Арбитраж
61
57% / 25%
Просрочено
60
12%
Работает
3
Разработчик 3
Оценка
(1)
Проекты
3
0%
Арбитраж
0
Просрочено
0
Работает
4
Разработчик 4
Оценка
(22)
Проекты
28
7%
Арбитраж
9
33% / 33%
Просрочено
1
4%
Работает
5
Разработчик 5
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(258)
Проекты
269
29%
Арбитраж
2
50% / 0%
Просрочено
3
1%
Работает
Опубликовал: 2 примера
7
Разработчик 7
Оценка
(20)
Проекты
28
39%
Арбитраж
8
25% / 38%
Просрочено
2
7%
Загружен
Опубликовал: 8 статей, 35 примеров
8
Разработчик 8
Оценка
(8)
Проекты
8
0%
Арбитраж
2
50% / 0%
Просрочено
1
13%
Работает
9
Разработчик 9
Оценка
(13)
Проекты
22
41%
Арбитраж
8
0% / 50%
Просрочено
3
14%
Свободен
10
Разработчик 10
Оценка
(3)
Проекты
9
67%
Арбитраж
0
Просрочено
0
Работает
11
Разработчик 11
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
13
Разработчик 13
Оценка
(9)
Проекты
11
27%
Арбитраж
0
Просрочено
2
18%
Работает
Опубликовал: 1 пример
14
Разработчик 14
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
15
Разработчик 15
Оценка
(2)
Проекты
2
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
16
Разработчик 16
Оценка
(211)
Проекты
274
21%
Арбитраж
24
54% / 17%
Просрочено
0
Работает
17
Разработчик 17
Оценка
(54)
Проекты
66
41%
Арбитраж
15
27% / 60%
Просрочено
1
2%
Загружен
18
Разработчик 18
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
19
Разработчик 19
Оценка
(59)
Проекты
92
42%
Арбитраж
4
0% / 100%
Просрочено
3
3%
Работает
20
Разработчик 20
Оценка
(25)
Проекты
33
18%
Арбитраж
6
50% / 33%
Просрочено
4
12%
Свободен
21
Разработчик 21
Оценка
(6)
Проекты
8
38%
Арбитраж
1
100% / 0%
Просрочено
2
25%
Свободен
22
Разработчик 22
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
23
Разработчик 23
Оценка
(7)
Проекты
6
0%
Арбитраж
4
25% / 75%
Просрочено
2
33%
Свободен
Похожие заказы
Purpose Develop a transparent and conservative Expert Advisor for MetaTrader 5. Profit is not guaranteed; acceptance is based on correct implementation, risk controls and reproducible testing. 1. Platform and instruments - Native MQL5 Expert Advisor for MetaTrader 5. - Symbols: EURUSD and USDJPY. - Working timeframe: H1. Higher-timeframe trend filter: H4. - Must support standard broker symbol suffixes/prefixes and
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
I need a MetaTrader 5 (MT5) custom indicator specifically designed for fast scalping on the M5 timeframe for volatile assets like XAUUSD, US30, and BTCUSD. I am based in the UAE (GMT+4). The indicator must run silently in the background and send Mobile Push Notifications and Pop-Up Alerts ONLY. Absolutely NO lines, boxes, objects, or graphic panels should be drawn or left on the trading chart. Core Requirements: 1
Ola, Tenho um Bot mas parou de funcionar, preciso de programador que desenvolva o mesmo configurações. Envio o antigo bot para pegar as configurações e realizar outro modelo. Hello, I have a bot that has stopped working, and I need a programmer to develop one with the same settings. I can send the old bot so you can extract the settings and build a new version
I need a skilled and experienced programmer, who is sincere and communicates effectively, to debug my pre-built indicator and EA for me: Bugs to fix - EA & Indicator 1. Fixed lot size not working properly 2. SL too tight 3. Grid not working properly - toggled. When Grid is off, single entries and default inputs apply. 4. Grid starting fixed lot - toggled. When off, ATR lot applies 5. Grid distance - fixed position 6
Hello Developers, I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 (MT5) based on ICT (Inner Circle Trader) concepts and Support/Resistance price action. Key Features & Strategy Requirements: 1. Market Structure & Price Action: - Identify Support and Resistance zones automatically. - Detect Break of Structure (BOS) and Change of Character (CHoCH). - Identify
I’m looking for someone with experience developing Expert Advisors for MetaTrader 5, particularly someone who has a strong understanding of arbitrage, mean reversion, multi-pair trading, and simultaneous order execution. I’m looking to develop an MT5 EA based on a triangular arbitrage strategy that identifies price discrepancies between three related currency pairs and automatically executes trades when the
I am looking for an experienced MQL5 developer to build a fully automated MT5 Expert Advisor for XAUUSD. The trading rules are already defined. I need the developer to implement them accurately in MQL5, not redesign the strategy. Main requirements: XAUUSD Multi-timeframe logic: H1 direction, M15 setup, M5 entry Entry only after candle-close confirmation No repainting / closed-bar logic Configurable Stop Loss and Take
Hi, I have developed an MT5 Expert Advisor called SRX which latest version is R24b47 , and I am looking for an experienced MQL5/MT5 EA developer to perform a thorough technical investigation, fixing and optimization of the EA. 1. The main problem SRX is not stable across different market periods . It can perform extremely well during one period, but the same EA/configuration can perform very poorly or approach Margin
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional

Информация о проекте

Бюджет
100 - 200 USD
VAT (17%): 17 - 34 USD
Итого: 117 - 234 USD
Исполнителю
90 - 180 USD
Сроки выполнения
от 14 до 30 дн.

Заказчик

Размещено заказов1
Количество арбитражей0