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
(9)
Projects
10
10%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(12)
Projects
13
31%
Arbitration
3
0% / 100%
Overdue
0
Working
Published: 1 article
3
Developer 3
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(65)
Projects
81
57%
Arbitration
6
67% / 17%
Overdue
1
1%
Busy
5
Developer 5
Rating
(18)
Projects
23
22%
Arbitration
8
13% / 63%
Overdue
4
17%
Free
6
Developer 6
Rating
(20)
Projects
29
3%
Arbitration
4
0% / 100%
Overdue
5
17%
Free
7
Developer 7
Rating
(4)
Projects
4
25%
Arbitration
1
0% / 100%
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
7
0%
Arbitration
3
0% / 33%
Overdue
1
14%
Working
12
Developer 12
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
13
Developer 13
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
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
(32)
Projects
33
42%
Arbitration
0
Overdue
3
9%
Free
18
Developer 18
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
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
2
0%
Arbitration
0
Overdue
1
50%
Free
23
Developer 23
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
Published: 2 codes
24
Developer 24
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
0
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
3
33%
Arbitration
1
0% / 100%
Overdue
0
Free
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
Jona copilot v12 30 - 40 USD
Hi, I'm interested in ordering an MT4 trading bot. Before we begin, could you please send me the technical specifications and requirements you'll need? Specifically, I'd like to know: - The trading strategy the bot will use. - The currency pairs or instruments it will trade. - The timeframes it supports. - Risk management features (lot sizing, stop loss, take profit, trailing stop, maximum drawdown). - Whether it
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Project information

Budget
1000 - 2000 USD