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
(395)
Projetos
556
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
Publicou: 3 artigos
3
Desenvolvedor 3
Classificação
(1)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Publicou: 3 artigos
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
269
29%
Arbitragem
2
50% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
10
Desenvolvedor 10
Classificação
(45)
Projetos
53
57%
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
(24)
Projetos
32
38%
Arbitragem
4
50% / 25%
Expirado
5
16%
Trabalhando
14
Desenvolvedor 14
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(10)
Projetos
9
56%
Arbitragem
1
0% / 0%
Expirado
0
Trabalhando
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
(2)
Projetos
3
33%
Arbitragem
0
Expirado
2
67%
Trabalhando
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
PROJECT: ADVANCED MT4/MT5 EA OPTIMIZATION – AUTOMATED TRADING, DYNAMIC PROFIT LOCKING, AUTO LOT & PROFESSIONAL RISK MANAGEMENT Hello Developer, I already have an existing Expert Advisor (EA) for MetaTrader 4/5. It is currently running, but I need an experienced MQL4/MQL5 developer to fix its problems and improve its trading performance, execution, risk management, and reliability. I want to preserve the original
I want an advanced automated Expert Advisor (EA) trading robot developed for MetaTrader 5 (MT5), compatible with Exness trading accounts. The robot should have the following features: 1. AUTOMATED TRADING - Automatically execute BUY and SELL trades. - Identify strong trading opportunities. - Analyse market trends before entering trades. - Operate without requiring manual trade execution. 2. ADVANCED MARKET ANALYSIS -
Can you do a 5 year back test on /6e (fx euro). using 30 minute chart. Buy to open if macd histogram is above 0 line, or sell to open if macd histogram is below 0 line at 7:30 pm eastern standard time. Close position at 7:30 am next morning. Trade stays open for the entire 12 hour time. thanks, regarding backtest, forgot to mention $300 stop loss, and $500 take profit. Thank you
Hi! I have a general strategy concept, but I would like you to help develop and define the exact trading rules. The planned strategy is: * Instrument: MNQ futures * Platform: NinjaTrader 8 * M30 timeframe for identifying the main trend * M5 timeframe for trade entries * RSI and MACD indicators * Support and resistance levels * Fully automated entries and exits * Automatic Stop Loss, Take Profit and Trailing Stop *
Gold liquidity expert 40 - 60 USD
#property strict #property version "1.00" #property description "XAUUSD Liquidity Sweep + Fibonacci Extension EA" #include <Trade/Trade.mqh> CTrade trade; //==================== INPUT SETTINGS ==================== input group "01. Strategy" input ENUM_TIMEFRAMES SignalTimeframe = PERIOD_CURRENT; input double SL_Buffer_Points = 20; input ulong MagicNumber = 20261122; input group "02. Fibonacci Extension" input double
Why is it difficult to get notifications from this website. Notifications seems stale, what’s happening? Also I noticed almost 90% of the jobs posted here are from people who aren’t ready for their work to be executed. Is it just me experiencing this or anyone else
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 30% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
I would like to commission the development of a custom Expert Advisor (Trading Robot) for MetaTrader 5 (MT5) that replicates the exact logic of the "Custom Range Bar" study from Sierra Chart, renders the range bar levels as an independent background layer on the chart, displays a live/historical performance statistics dashboard, and executes/manages trades automatically based on the rules below. 1. Range Bar
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd

Informações sobre o projeto

Orçamento
500+ USD
Prazo
para 30 dias