MT5 Developer Needed – Add Smart Early Exit for Losing XAUUSD Trades TF 15 MIN

Specification

I am looking for a developer experienced in EAs, MT5 and trade management optimization to help me add an intelligent early-exit system to my existing XAUUSD trading robot.

The EA is already fully functional and performs best on the M15 timeframe. The entry strategy, BUY/SELL logic, sessions and core structure are already implemented.

The work should focus exclusively on adding early exits for trades that are currently floating in loss, with the objective of reducing large losing trades before they reach the full Stop Loss.

The new exit logic should not interfere with profitable trades or significantly reduce the EA's original trading frequency.

Current EA Status

  • Symbol: XAUUSD ONLY
  • Platform: MT5
  • Main Timeframe: M15
  • Broker: UltimaMarkets
  • Backtest period: January 2025 – September 2026
  • Current Profit Factor: 1.42
  • Current Win Rate:88%
  • Total trades: approx. 2,820
  • EA is fully functional

Optimization Objectives

  • Add Smart Early Exit logic only for trades floating in loss
  • Target a Profit Factor of at least 1.65
  • Maintain a Win Rate of approximately 73–80% or higher
  • Preserve at least 85–90% of the original trade frequency
  • Avoid reducing total trades by more than approximately 10–15%
  • Reduce average loss and large/full Stop Loss trades
  • Preferably reduce Drawdown and improve Recovery Factor
  • Do not modify the EA's core entry strategy

The exit system may use conditions such as ATR, momentum deterioration, EMA/trend invalidation, RSI, market structure, time in trade, adverse price movement or a combination of filters.

I am open to the developer proposing the most appropriate Smart Exit logic after analyzing the EA and its losing trades.

Expected Deliverables

  • Modified .mq5 source code
  • Compiled .ex5
  • Configurable Smart Loss Exit inputs
  • Full backtest results
  • Comparison between the original EA and the modified version
  • Testing using UltimaMarkets conditions/environment
  • Preferably Out-of-Sample / Forward Testing validation to reduce overfitting

I will provide the existing EA source code, current settings and backtest results.

The objective is not to create a new strategy, but to improve the existing EA by reducing the impact of losing trades while preserving its high win rate and trade frequency.


Responded

1
Developer 1
Rating
(295)
Projects
367
30%
Arbitration
37
27% / 65%
Overdue
10
3%
Working
Published: 10 codes
2
Developer 2
Rating
(636)
Projects
745
34%
Arbitration
49
53% / 39%
Overdue
14
2%
Working
3
Developer 3
Rating
(465)
Projects
815
49%
Arbitration
76
21% / 50%
Overdue
142
17%
Loaded
4
Developer 4
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
5
Developer 5
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
6
Developer 6
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
7
Developer 7
Rating
(13)
Projects
21
38%
Arbitration
0
Overdue
1
5%
Working
8
Developer 8
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(2678)
Projects
3425
68%
Arbitration
78
49% / 14%
Overdue
343
10%
Working
Published: 1 code
11
Developer 11
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
12
Developer 12
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
13
Developer 13
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
14
Developer 14
Rating
(25)
Projects
31
13%
Arbitration
14
0% / 79%
Overdue
9
29%
Free
15
Developer 15
Rating
(2)
Projects
3
33%
Arbitration
0
Overdue
2
67%
Working
16
Developer 16
Rating
(10)
Projects
12
33%
Arbitration
0
Overdue
2
17%
Working
Published: 1 code
17
Developer 17
Rating
(14)
Projects
21
24%
Arbitration
0
Overdue
2
10%
Free
Published: 3 codes
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
21
Developer 21
Rating
(60)
Projects
95
42%
Arbitration
4
0% / 100%
Overdue
4
4%
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
23
Developer 23
Rating
(7)
Projects
7
43%
Arbitration
0
Overdue
0
Working
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
25
Developer 25
Rating
(215)
Projects
282
21%
Arbitration
27
59% / 15%
Overdue
0
Working
26
Developer 26
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
27
Developer 27
Rating
(16)
Projects
30
40%
Arbitration
3
33% / 67%
Overdue
7
23%
Working
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
(515)
Projects
554
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
(6)
Projects
7
71%
Arbitration
0
Overdue
0
Working
Published: 1 article, 2 codes
39
Developer 39
Rating
(3)
Projects
5
40%
Arbitration
0
Overdue
0
Loaded
Published: 5 codes
40
Developer 40
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
41
Developer 41
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
42
Developer 42
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
43
Developer 43
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
44
Developer 44
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
45
Developer 45
Rating
(4)
Projects
5
0%
Arbitration
0
Overdue
0
Free
46
Developer 46
Rating
(4)
Projects
10
60%
Arbitration
0
Overdue
0
Working
47
Developer 47
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
48
Developer 48
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
49
Developer 49
Rating
(45)
Projects
63
52%
Arbitration
5
0% / 40%
Overdue
1
2%
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
52
Developer 52
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
53
Developer 53
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
54
Developer 54
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Developer 56
Rating
(52)
Projects
58
59%
Arbitration
4
0% / 25%
Overdue
1
2%
Free
57
Developer 57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Developer 59
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
60
Developer 60
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
61
Developer 61
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
62
Developer 62
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
63
Developer 63
Rating
(4)
Projects
7
57%
Arbitration
1
100% / 0%
Overdue
0
Free
64
Developer 64
Rating
(2)
Projects
3
0%
Arbitration
0
Overdue
0
Free
65
Developer 65
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
66
Developer 66
Rating
(12)
Projects
14
29%
Arbitration
0
Overdue
0
Free
67
Developer 67
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
68
Developer 68
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
69
Developer 69
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
70
Developer 70
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
1
50%
Free
71
Developer 71
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
72
Developer 72
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
73
Developer 73
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
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
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
I need an experienced MQL5 developer to create a semi-automated trade execution assistant for MetaTrader 5. Please read before applying: I only want developers who have already built a similar project at least once (a trading panel with trade management). If you have done it before, attach screenshots or links of the MT5 panels or dashboards you made. If you have never built something like this, or you cannot show
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
MT5 Expert Advisor Development Brief — Forex Project objective I am looking for an experienced MQL5 developer to build a bespoke, fully automated Expert Advisor for MetaTrader 5. The EA will be used on both proprietary trading firm (prop-firm) accounts and my own live trading account. My priorities, in order, are: 1. Low drawdown and robust risk management. 2. Consistent, repeatable profitability. 3. Reliable
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
I have an existing compiled MetaTrader 5 Expert Advisor (EX5) designed for automated XAUUSD scalping. I want an experienced developer to assess and implement a solution to execute the EA’s original trading strategy through my broker’s FIX API. Requirements: Confirm the technical feasibility of connecting an existing MT5 EA to a broker FIX API. Explain how to obtain FIX API access and credentials from the broker

Project information

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