Specification

Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering)

Project context:
I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price.

Important:
I do not have access to the original trading strategy that generated these trades.
The goal of this project is therefore to reconstruct a trading logic through reverse engineering, based solely on the existing historical data. This project should be considered a reverse engineering task: all analytical methods, trading indicators, and quantitative approaches are acceptable as long as the required deliverables are met.

Main objective:
To develop an Expert Advisor (EA), preferably in MQL5 or alternatively in Python, capable of:

  • Reproducing at least 90% of the trades contained in the CSV file during backtesting

  • Being usable in the future, both in live trading conditions and for further backtesting

  • Relying exclusively on the provided historical data

Provided data:

  • A CSV file containing the full trade history

  • Each row represents a single trade and includes, among others:

    • Date

    • Time

    • Instrument (e.g. XAUUSD)

    • Order type (BUY / SELL)

    • Entry price

    • Exit price

The developer will be expected to:

  • Analyze the provided data

  • Identify recurring patterns, rules, or common conditions

  • Derive an exploitable and coherent algorithmic trading logic

Functional scope of the Expert Advisor:
The EA must be able to:

  • Identify entry conditions (BUY / SELL)

  • Determine exit conditions

  • Be primarily specialized for gold (XAUUSD), with the possibility of deployment on other assets

  • Manage:

    • Stop Loss

    • Take Profit

    • Trade duration (maximum trade duration of 5 hours)

Backtesting requirements:

  • The EA must be fully backtestable on MetaTrader 5

  • It must allow a direct comparison between:

    • Trades generated by the EA

    • Trades contained in the CSV file

  • Minimum requirement: ≥ 90% match rate (dates, trade direction, and acceptable timing tolerance)

Parameters and configuration:

  • Adjustable parameters, including:

    • Trading hours

    • Price and timing tolerances

    • Money management (risk percentage per trade or fixed lot size)

  • The strategy should allow future optimization

Technical constraints:

  • Programming language: MQL5 or Python

  • Platform: MetaTrader 5

  • Code must be:

    • Clean

    • Well-commented

    • Well-structured

    • Easy to modify and maintain

  • Full compatibility with the MT5 Strategy Tester is required

Expected approach (Reverse Engineering):
The project relies on a strong analytical and quantitative approach, which may include:

  • Statistical analysis of trade entries and exits

  • Detection of rules based on:

    • Time-based conditions

    • Volatility

    • Price levels

    • Technical indicators (such as market volume profile, Fibonacci retracements, supply and demand zones, order flow)

  • Progressive reconstruction of a coherent and robust trading strategy

The final strategy does not need to be identical to the original one, as long as it:

  • Reproduces the historical trades

  • Is usable for future trading

  • Is profitable

Expected deliverables:

  • The Expert Advisor source and compiled files (.mq5 + .ex5) or the Python code

  • A detailed documentation explaining:

    • The strategy logic

    • Available parameters

    • Known limitations

    • Required libraries (for Python-based solutions)

  • A backtesting report demonstrating:

    • The trade matching rate versus the CSV

    • Overall performance over at least 5 years

Project validation criteria:
The project will be considered successfully completed if:

  • The EA reproduces at least 90% of the trades from the CSV during backtesting

  • The code is functional and usable

  • The strategy logic is clear and properly documented

  • The strategy is profitable on XAUUSD

Detailed report required, explaining:

  • The full project workflow

  • The reasoning and analytical process

  • The research and analysis tools used

  • The technical implementation


Responded

1
Developer 1
Rating
(8)
Projects
9
11%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
3
Developer 3
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(12)
Projects
14
57%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(18)
Projects
23
22%
Arbitration
8
13% / 63%
Overdue
4
17%
Free
6
Developer 6
Rating
(16)
Projects
24
0%
Arbitration
4
0% / 100%
Overdue
5
21%
Working
7
Developer 7
Rating
(3)
Projects
3
33%
Arbitration
0
Overdue
0
Free
Published: 2 articles
8
Developer 8
Rating
(49)
Projects
74
18%
Arbitration
30
17% / 53%
Overdue
31
42%
Free
9
Developer 9
Rating
(5)
Projects
5
60%
Arbitration
1
0% / 0%
Overdue
2
40%
Free
Published: 1 code
10
Developer 10
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
11
Developer 11
Rating
(2)
Projects
4
0%
Arbitration
3
0% / 0%
Overdue
1
25%
Loaded
12
Developer 12
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
13
Developer 13
Rating
(4)
Projects
7
0%
Arbitration
3
33% / 67%
Overdue
3
43%
Working
14
Developer 14
Rating
(22)
Projects
30
20%
Arbitration
8
63% / 13%
Overdue
9
30%
Free
15
Developer 15
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(14)
Projects
15
40%
Arbitration
2
50% / 50%
Overdue
1
7%
Free
17
Developer 17
Rating
(14)
Projects
14
21%
Arbitration
1
0% / 0%
Overdue
2
14%
Working
18
Developer 18
Rating
(295)
Projects
473
40%
Arbitration
103
41% / 23%
Overdue
78
16%
Busy
Published: 2 codes
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Working
23
Developer 23
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
Published: 2 codes
24
Developer 24
Rating
(4)
Projects
5
0%
Arbitration
1
0% / 100%
Overdue
1
20%
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
32
Developer 32
Rating
(2)
Projects
2
50%
Arbitration
1
0% / 100%
Overdue
0
Working
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Phahla fx boto 30+ USD
99.99% signal accuracy 10-15 trades distribution all currency trade and meta AI assistance on loss[advice] stop and start robot cyber security firewall protection activation code: 20060605TLP20 Please create a trading bot with any logo with the name elevation
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
I am looking for a professional MQL5 developer to build a structured MT5 Expert Advisor. This is NOT a martingale or high-risk grid bot. Platform: • MT5 only (MQL5 source code required) Symbols: • XAUUSD • GBPUSD • GBPJPY Timeframe: • M5 Risk Management: • Adjustable risk per trade (default 0.5% equity) • Daily drawdown protection (max 3%, auto-lock trading for the day) • Maximum 2 open trades • Minimum 120 seconds

Project information

Budget
1000 - 2000 USD