Add Smart Early Exit Logic to Existing XAUUSD M15 EA

Job finished

Execution time 15 days
Feedback from employee
Cliente excelente, muito comunicativo, paciente e com ótima visão técnica sobre a estratégia, negociação transparente e testes bem executados, recomendo a todos.

Specification

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



Responded

1
Developer 1
Rating
(639)
Projects
747
34%
Arbitration
49
53% / 39%
Overdue
14
2%
Working
2
Developer 2
Rating
(406)
Projects
524
24%
Arbitration
62
58% / 24%
Overdue
60
11%
Loaded
3
Developer 3
Rating
(2)
Projects
4
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
7
Developer 7
Rating
(23)
Projects
33
39%
Arbitration
9
22% / 33%
Overdue
5
15%
Busy
Published: 8 articles, 35 codes
8
Developer 8
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
9
Developer 9
Rating
(13)
Projects
23
39%
Arbitration
8
0% / 50%
Overdue
4
17%
Free
10
Developer 10
Rating
(4)
Projects
10
60%
Arbitration
0
Overdue
0
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(10)
Projects
12
33%
Arbitration
0
Overdue
2
17%
Working
Published: 1 code
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
16
Developer 16
Rating
(216)
Projects
283
20%
Arbitration
28
57% / 14%
Overdue
0
Working
17
Developer 17
Rating
(55)
Projects
68
43%
Arbitration
15
27% / 60%
Overdue
1
1%
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(60)
Projects
95
42%
Arbitration
4
0% / 100%
Overdue
4
4%
Working
20
Developer 20
Rating
(25)
Projects
33
18%
Arbitration
6
50% / 33%
Overdue
4
12%
Free
21
Developer 21
Rating
(6)
Projects
8
38%
Arbitration
2
50% / 50%
Overdue
2
25%
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
24
Developer 24
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
25
Developer 25
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(9)
Projects
12
25%
Arbitration
0
Overdue
1
8%
Free
27
Developer 27
Rating
(176)
Projects
272
63%
Arbitration
4
50% / 25%
Overdue
10
4%
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(16)
Projects
30
40%
Arbitration
3
33% / 67%
Overdue
7
23%
Working
30
Developer 30
Rating
(170)
Projects
203
47%
Arbitration
5
20% / 60%
Overdue
3
1%
Free
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
(4)
Projects
9
56%
Arbitration
0
Overdue
2
22%
Loaded
Published: 5 codes
34
Developer 34
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(5)
Projects
5
60%
Arbitration
0
Overdue
0
Free
40
Developer 40
Rating
(7)
Projects
9
67%
Arbitration
0
Overdue
0
Working
Published: 1 article, 2 codes
41
Developer 41
Rating
(6)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
1
14%
Free
42
Developer 42
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
43
Developer 43
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
44
Developer 44
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
1
50%
Free
45
Developer 45
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
46
Developer 46
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
47
Developer 47
Rating
(2)
Projects
3
33%
Arbitration
0
Overdue
2
67%
Working
48
Developer 48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
49
Developer 49
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
51
Developer 51
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I’m looking for someone who can develop and optimize high-quality strategies/setfiles for my existing, custom-built Martingale EA. This is not a standard Martingale EA. It has multiple built-in safety features, so a thorough understanding of the EA’s logic and risk management is essential. Here’s what I’m looking for: 1. Optimization & Backtesting Extensive experience with EA optimization and backtesting using real
​​ Title: ​Create a Combined Indicator from 3 EX4 Indicators + Fully Automatic Trading EA (MT4) ​ Description: ​Hello, ​I need an experienced MQL4 developer to build a custom trading system based on 3 existing .ex4 indicators. ​ Project Requirements: ​ Combined Custom Indicator: ​Read and merge signals from 3 specified .ex4 indicators via buffer reading (iCustom). ​Generate a consolidated BUY or SELL arrow/signal
I am looking for an experienced MQL5 developer to recreate my existing MT5 Expert Advisor (DSTR Novaa). I have the original compiled EX5 file, Vantage MT5 live trading history and original Strategy Tester report. Required Trading Logic: EMA Period: 3. BUY when price crosses below EMA 3. SELL when price crosses above EMA 3. Starting Lot: 0.01 (configurable). Martingale Multiplier: 2.0. Maximum Martingale Cycle: 9
CyberShadow AI 30 - 300 USD
I want a bot that’s trades using smc strategy having stop loss and take profit.I want it to be able to trade with small account I want a disciplined robot but a strong one to I also what it to trade using trend line and locate point of interest
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
(I can't pay 30 for this of course if you can just help.me solve this problem I would appreciate you )It was doing everything perfectly until yesterday this happened this is a python file that copies from telegram Iand send to ea signal if you have any idea what to do or why this happened please tell me
PROJECT: BYBIT PUMP & DUMP EARLY DETECTION ENGINE Fixed Budget: USD $1,000 – Complete Project I am looking for an experienced quantitative trading developer to design, develop, validate and deliver a professional standalone Python 3.12 module for detecting early pump and dump movements on Bybit USDT perpetual futures. IMPORTANT: This is NOT an MT4/MT5 indicator, Expert Advisor or a request to build a complete trading
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Best trader robot 499 - 550 USD
Objective: Develop a robust and highly profitable Expert Advisor (EA) for MetaTrader based on a precise custom trading strategy to achieve a high win rate. ​ Instrument & Timeframe: XAUUSD (Gold), optimized for M5 / M15 timeframes. ​ Entry Strategy: Open Buy/Sell orders based on strict confirmation signals (e.g., Moving Average crossover combined with Price Action or RSI threshold). ​ Lot Size & Risk Management

Project information

Budget
100 - 200 USD
Deadline
from 14 to 30 day(s)