Termos de Referência

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


Respondido

1
Desenvolvedor 1
Classificação
(8)
Projetos
9
11%
Arbitragem
0
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(7)
Projetos
9
0%
Arbitragem
2
0% / 100%
Expirado
0
Livre
Publicou: 1 artigo
3
Desenvolvedor 3
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(12)
Projetos
14
57%
Arbitragem
1
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(18)
Projetos
23
22%
Arbitragem
8
13% / 63%
Expirado
4
17%
Livre
6
Desenvolvedor 6
Classificação
(16)
Projetos
24
0%
Arbitragem
4
0% / 100%
Expirado
5
21%
Trabalhando
7
Desenvolvedor 7
Classificação
(3)
Projetos
3
33%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 artigos
8
Desenvolvedor 8
Classificação
(49)
Projetos
74
18%
Arbitragem
30
17% / 53%
Expirado
31
42%
Livre
9
Desenvolvedor 9
Classificação
(5)
Projetos
5
60%
Arbitragem
1
0% / 0%
Expirado
2
40%
Livre
Publicou: 1 código
10
Desenvolvedor 10
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
11
Desenvolvedor 11
Classificação
(2)
Projetos
4
0%
Arbitragem
3
0% / 0%
Expirado
1
25%
Carregado
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
1
0% / 0%
Expirado
0
Trabalhando
13
Desenvolvedor 13
Classificação
(4)
Projetos
7
0%
Arbitragem
3
33% / 67%
Expirado
3
43%
Trabalhando
14
Desenvolvedor 14
Classificação
(22)
Projetos
30
20%
Arbitragem
8
63% / 13%
Expirado
9
30%
Livre
15
Desenvolvedor 15
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(14)
Projetos
15
40%
Arbitragem
2
50% / 50%
Expirado
1
7%
Livre
17
Desenvolvedor 17
Classificação
(14)
Projetos
14
21%
Arbitragem
1
0% / 0%
Expirado
2
14%
Trabalhando
18
Desenvolvedor 18
Classificação
(295)
Projetos
473
40%
Arbitragem
103
41% / 23%
Expirado
78
16%
Ocupado
Publicou: 2 códigos
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Trabalhando
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
1
0% / 0%
Expirado
0
Trabalhando
Publicou: 2 códigos
24
Desenvolvedor 24
Classificação
(4)
Projetos
5
0%
Arbitragem
1
0% / 100%
Expirado
1
20%
Livre
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
30
Desenvolvedor 30
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
31
Desenvolvedor 31
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
(2)
Projetos
2
50%
Arbitragem
1
0% / 100%
Expirado
0
Trabalhando
33
Desenvolvedor 33
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
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
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
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
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
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss
Apply with a keen sense of responsibility . Copy the code . Both of my expert has sufficient materials . Its a simple winning strategy , therefore please be ahead of time . Code BLUE . Changing The Strategy According to what i think is correct

Informações sobre o projeto

Orçamento
1000 - 2000 USD