Add Smart Early Exit Logic to Existing XAUUSD M15 EA

Specifiche

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



Con risposta

1
Sviluppatore 1
Valutazioni
(622)
Progetti
726
34%
Arbitraggio
47
49% / 40%
In ritardo
14
2%
Caricato
2
Sviluppatore 2
Valutazioni
(398)
Progetti
516
23%
Arbitraggio
61
57% / 25%
In ritardo
60
12%
In elaborazione
3
Sviluppatore 3
Valutazioni
(1)
Progetti
3
0%
Arbitraggio
0
In ritardo
0
In elaborazione
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
(258)
Progetti
269
29%
Arbitraggio
2
50% / 0%
In ritardo
3
1%
In elaborazione
Pubblicati: 2 codici
7
Sviluppatore 7
Valutazioni
(20)
Progetti
28
39%
Arbitraggio
8
25% / 38%
In ritardo
2
7%
Caricato
Pubblicati: 8 articoli, 35 codici
8
Sviluppatore 8
Valutazioni
(8)
Progetti
8
0%
Arbitraggio
2
50% / 0%
In ritardo
1
13%
In elaborazione
9
Sviluppatore 9
Valutazioni
(13)
Progetti
22
41%
Arbitraggio
8
0% / 50%
In ritardo
3
14%
Gratuito
10
Sviluppatore 10
Valutazioni
(3)
Progetti
9
67%
Arbitraggio
0
In ritardo
0
In elaborazione
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(9)
Progetti
11
27%
Arbitraggio
0
In ritardo
2
18%
In elaborazione
Pubblicati: 1 codice
14
Sviluppatore 14
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(211)
Progetti
274
21%
Arbitraggio
24
54% / 17%
In ritardo
0
In elaborazione
17
Sviluppatore 17
Valutazioni
(54)
Progetti
66
41%
Arbitraggio
15
27% / 60%
In ritardo
1
2%
Caricato
18
Sviluppatore 18
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
(59)
Progetti
92
42%
Arbitraggio
4
0% / 100%
In ritardo
3
3%
In elaborazione
20
Sviluppatore 20
Valutazioni
(25)
Progetti
33
18%
Arbitraggio
6
50% / 33%
In ritardo
4
12%
Gratuito
21
Sviluppatore 21
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
1
100% / 0%
In ritardo
2
25%
Gratuito
22
Sviluppatore 22
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(7)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
2
33%
Gratuito
Ordini simili
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total

Informazioni sul progetto

Budget
100 - 200 USD
IVA (17%): 17 - 34 USD
Totale: 117 - 234 USD
Per lo sviluppatore
90 - 180 USD
Scadenze
da 14 a 30 giorno(i)

Cliente

Ordini effettuati1
Numero di arbitraggi0