Build a Script to Automate MT5 Optimization & Forward Validation

Termos de Referência

1. Objective
Create an MT5 automation script (or set of scripts) that fully automates my strategy optimization workflow, including:
Batch optimization runs
Automatic filtering of results
Automatic forward testing
Exporting and organizing results into structured files/folders
The goal is to reduce manual work and allow one‑click execution of the entire pipeline.

2. Platform & Environment
MetaTrader 5
Windows 11
EA already exists (I will provide the .mq5 or .ex5 file)
Script must work with MT5 Strategy Tester
No DLLs unless absolutely necessary

3. Required Features
3.1 Optimization Automation
Launch optimization automatically with predefined inputs:
Symbol
Timeframe
Date range
Optimization mode (Genetic / All symbols selected / etc.)
Parameter ranges
Ability to run multiple optimization batches sequentially (different symbols, timeframes, or parameter sets).
3.2 Result Filtering
After each optimization run, the script must automatically filter results based on criteria such as:
Minimum number of trades
Minimum profit factor
Maximum drawdown
Minimum expected payoff
Custom filters (I will specify exact thresholds)
Filtered results must be exported automatically.
3.3 Forward Testing Automation
For each filtered optimization result:
Launch a forward test using a predefined forward period
Collect forward test metrics
Export results automatically
Organize results by:
Symbol
Timeframe
Optimization batch
Parameter set
3.4 File Output & Organization
Export optimization and forward results to CSV or XLSX
Include all key metrics (profit factor, drawdown, trades, etc.)
Create a clean folder structure:
/OptimizationResults
/ForwardResults
/Logs
Include timestamps and parameter sets in filenames

4. User Interface (Simple)
A simple input panel or .ini file where I can define:
Symbols
Timeframes
Optimization ranges
Forward test period
Filtering thresholds
Output folder
No complex GUI required.

5. Logging
Detailed logs of each step
Errors must be clearly reported
Summary log at the end of each batch

6. Deliverables
Fully working .mq5 script(s)
Source code required
Short documentation explaining:
How to run the automation
How to change parameters
Folder structure
Troubleshooting notes

7. Developer Requirements
Experience with MT5 Strategy Tester automation
Strong MQL5 scripting skills
Ability to write clean, modular code
Good communication during development

Respondido

1
Desenvolvedor 1
Classificação
(394)
Projetos
555
41%
Arbitragem
30
57% / 3%
Expirado
57
10%
Livre
Publicou: 11 códigos
2
Desenvolvedor 2
Classificação
(75)
Projetos
111
50%
Arbitragem
26
31% / 50%
Expirado
9
8%
Livre
3
Desenvolvedor 3
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Publicou: 1 artigo
4
Desenvolvedor 4
Classificação
(2)
Projetos
3
33%
Arbitragem
1
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(3)
Projetos
2
50%
Arbitragem
1
0% / 100%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(7)
Projetos
5
0%
Arbitragem
5
0% / 80%
Expirado
1
20%
Trabalhando
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(258)
Projetos
266
29%
Arbitragem
0
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
10
Desenvolvedor 10
Classificação
(42)
Projetos
47
60%
Arbitragem
2
100% / 0%
Expirado
1
2%
Livre
Publicou: 5 códigos
11
Desenvolvedor 11
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(39)
Projetos
52
19%
Arbitragem
15
27% / 67%
Expirado
8
15%
Livre
Publicou: 1 código
13
Desenvolvedor 13
Classificação
(21)
Projetos
28
32%
Arbitragem
4
50% / 25%
Expirado
4
14%
Trabalhando
14
Desenvolvedor 14
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(3)
Projetos
3
33%
Arbitragem
0
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(16)
Projetos
20
0%
Arbitragem
10
0% / 80%
Expirado
6
30%
Livre
17
Desenvolvedor 17
Classificação
(2)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(3)
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(33)
Projetos
36
33%
Arbitragem
5
0% / 80%
Expirado
0
Trabalhando
Publicou: 2 códigos
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
(74)
Projetos
84
64%
Arbitragem
5
100% / 0%
Expirado
9
11%
Livre
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Full and specific details will be if selected for the task. This is the general description of the EA Create an expert advisor with two options. Either send email to buy or sell... or make a trade. Create an expert advisor which sends email for a buy alert or make a trade when all three of the following criteria are met: * CCI goes more than 100 ( or more than any other set value) * MACD shows green bar or
JOB: The team from VixAlgoTrading is looking for experienced MQL5 developers with a keen interest in AI generated Strategies. Our recently developed Automated EA Builder called VixAlgoBuilder (VAB) needs dedicated and experienced testers. The job involves day-to-day use of VAB and review. The hired applicants will be considered for partnership towards further development of the EA Builder with monthly salary. While
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
I am in need of a profitable scalping EA for gold. No grid or martingale strategy pls. If you have one fully developed and working, pls reach out. You should be able to provide trial version
Looking for someone who is experienced in creating MT5 EA from scratch to go over 7 public youtube videos (total duration about 6 hours) and extract the strategy code taught in the videos to make a MT5 .mq5 source code file. Full code is explained in the 7 videos so it's just a matter of going over the videos and extracting the relevant parts that relate to the source code and compiling it into a working EA. The
MetaTrader In-App Trade Alerts An existing MetaTrader terminal is already running on my side, but its account is kept hidden for privacy reasons. I need a specialist to wire up native in-app notifications so that every time a position is opened or later closed I see an immediate pop-up inside the platform—no emails or SMS, just the built-in alert window (and the usual MT push to mobile if that comes automatically
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
I have an existing MT5 Expert Advisor for XAUUSD M5. This is NOT a new robot from zero. I need modification and professional review of an existing MQL5 EA. Main goals: 1. Buy entries: Buy trades are currently too rare. The Buy ADX filter was very strict at 45. I am testing 40 now. I need you to review the Buy entry filters and improve Buy entry quality without making entries random or weak. 2. Sell entries: Sell
I am looking for an experienced MQL5 developer to build a professional MetaTrader 5 (MT5) Expert Advisor (EA) for swing trading. Trading Pairs EUR/USD USD/JPY Timeframes Daily (D1) for trend identification. H4 for trade entries. Strategy The EA should: Detect Daily market structure (HH, HL, LH, LL) using confirmed swing highs and lows (not relying solely on ZigZag). Use DMI/ADX for trend confirmation. Open trades
Hello, I want an EA which does martingale and has hedge feature. You may be confused by what this mean entirely so reach out to me so we can talk in depth as what I have said here is very vague for someone to clearly understand. I am not paying a single dollar over $30, so don't apply if you don't agree with that. Thank you for taking your time to read this

Informações sobre o projeto

Orçamento
500+ USD
Prazo
para 30 dias