Add Smart Early Exit Logic to Existing XAUUSD M15 EA

Şartname

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



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(622)
Projeler
726
34%
Arabuluculuk
47
49% / 40%
Süresi dolmuş
14
2%
Yüklendi
2
Geliştirici 2
Derecelendirme
(398)
Projeler
516
23%
Arabuluculuk
61
57% / 25%
Süresi dolmuş
60
12%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(1)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
4
Geliştirici 4
Derecelendirme
(22)
Projeler
28
7%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
1
4%
Çalışıyor
5
Geliştirici 5
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(258)
Projeler
269
29%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
3
1%
Çalışıyor
Yayınlandı: 2 kod
7
Geliştirici 7
Derecelendirme
(20)
Projeler
28
39%
Arabuluculuk
8
25% / 38%
Süresi dolmuş
2
7%
Yüklendi
Yayınlandı: 8 makale, 35 kod
8
Geliştirici 8
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
13%
Çalışıyor
9
Geliştirici 9
Derecelendirme
(13)
Projeler
22
41%
Arabuluculuk
8
0% / 50%
Süresi dolmuş
3
14%
Serbest
10
Geliştirici 10
Derecelendirme
(3)
Projeler
9
67%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(9)
Projeler
11
27%
Arabuluculuk
0
Süresi dolmuş
2
18%
Çalışıyor
Yayınlandı: 1 kod
14
Geliştirici 14
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
(211)
Projeler
274
21%
Arabuluculuk
24
54% / 17%
Süresi dolmuş
0
Çalışıyor
17
Geliştirici 17
Derecelendirme
(54)
Projeler
66
41%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Yüklendi
18
Geliştirici 18
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
19
Geliştirici 19
Derecelendirme
(59)
Projeler
92
42%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
3
3%
Çalışıyor
20
Geliştirici 20
Derecelendirme
(25)
Projeler
33
18%
Arabuluculuk
6
50% / 33%
Süresi dolmuş
4
12%
Serbest
21
Geliştirici 21
Derecelendirme
(6)
Projeler
8
38%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
2
25%
Serbest
Benzer siparişler
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
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
I have an existing order-flow engine for NinjaTrader 8, approximately 25,000 lines of C# code, currently using Rithmic Level 2 data. It detects absorption, iceberg orders, and other order-flow signals. We have also developed an initial bridge prototype ourselves and tested parts of the R|Trader Pro to NinjaTrader connection workflow, but we have not yet established a working MBO data connection. I am specifically
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
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
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
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

Proje bilgisi

Bütçe
100 - 200 USD
KDV (17%): 17 - 34 USD
Toplam: 117 - 234 USD
Geliştirici için
90 - 180 USD
Son teslim tarihi
from 14 to 30 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0