Build a Script to Automate MT5 Optimization & Forward Validation

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(393)
Proyectos
546
40%
Arbitraje
30
57% / 3%
Caducado
57
10%
Libre
Ha publicado: 11 ejemplos
2
Desarrollador 2
Evaluación
(73)
Proyectos
104
51%
Arbitraje
24
21% / 54%
Caducado
9
9%
Trabaja
3
Desarrollador 3
Evaluación
Proyectos
1
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(2)
Proyectos
2
50%
Arbitraje
1
0% / 100%
Caducado
0
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(3)
Proyectos
2
50%
Arbitraje
1
0% / 100%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(5)
Proyectos
4
0%
Arbitraje
5
0% / 60%
Caducado
1
25%
Ocupado
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(250)
Proyectos
256
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
10
Desarrollador 10
Evaluación
(29)
Proyectos
29
66%
Arbitraje
0
Caducado
1
3%
Trabaja
Ha publicado: 5 ejemplos
11
Desarrollador 11
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(38)
Proyectos
51
20%
Arbitraje
15
27% / 67%
Caducado
7
14%
Libre
Ha publicado: 1 ejemplo
13
Desarrollador 13
Evaluación
(11)
Proyectos
15
13%
Arbitraje
4
25% / 25%
Caducado
4
27%
Trabajando
14
Desarrollador 14
Evaluación
(17)
Proyectos
23
39%
Arbitraje
6
33% / 50%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(16)
Proyectos
20
0%
Arbitraje
10
0% / 80%
Caducado
6
30%
Libre
17
Desarrollador 17
Evaluación
(2)
Proyectos
1
0%
Arbitraje
2
0% / 50%
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(3)
Proyectos
1
100%
Arbitraje
3
0% / 100%
Caducado
0
Libre
20
Desarrollador 20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(32)
Proyectos
35
34%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
Solicitudes similares
Multi-Slave Inverse Hedging EA with Martingale Grid — MT5 Category: Experts Description: I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor system called Hedging EA Trader . This is a well-documented project — I have a full 30+ page Software Requirements Specification (SRS) ready to share with the selected developer. System Overview: The EA uses a Master/Slave architecture: 1
Hello, I already have a licensing program integrated with my EA. The system currently works as follows: • The EA settings are hidden from the client. • Only the License Key field is visible. • The EA works normally after activation. • All other settings remain locked and hidden as intended. However, I am facing a serious issue: When I add this validation URL inside the Expert Advisor
I want a modification on my ea . A spread filter or slipage filter such that when the market price is less than 50 point away from the pend order , then ea check the spread if less than the set filter spread. If spread is more than the set spread, the ea will delete the pend order . Secondly , if the broker price is moved or sliped the pending order from the original price it was set by the tolerable slipage distance
Hi, I’m currently looking to purchase a profitable Expert Advisor (EA) for XAUUSD on MT4 and different Symbols . If you have an EA that has consistently been profitable, I’d be interested in purchasing the source code. I would like to backtest the strategy and evaluate it before making any purchases. What I’m ideally looking for: Designed specifically for XAUUSD (MT4) Consistent profitability with solid risk
Bhalzdeep 30+ USD
Anything is possible no job too big no job too small. Equal opportunity entity if we don't have it then we can get it. Completely satisfied customers is our top priority
Would it be possible to connect Futures prop firm with Rithmic or Tradeovate platform to Ninjatrader automated trading ? If anyone can do this for me I will be happy to get started with the person right away
I am building a professional-grade survival EA for USDJPY designed to: Repeatedly pass FTMO-style challenges Sustain long-term funded accounts Deploy safely across multiple prop accounts This is not a retail scalper. This is a controlled EMA pullback engine with strict risk governance and anti-correlation logic . All parameters must be configurable. Defaults must match exactly as listed. Core Strategy – EMA Pullback
I’m after someone to make me a forex ex for meta trader 5 it will be trading GBPUSD only but having to align with EURUSD and rules and entry’s based off weekly and daily vwap with 20 EMA
Key Requirements: ​ Zone Detection: The EA must read "Weak Support/Resistance" zones generated by my indicator (I will provide the .mq4/ex4 file). ​ Execution Logic: - Identify the candle with the longest wick within the detected liquidity zone. ​Place a Pending Order (Buy Stop/Sell Stop) 20 points (2 pips) before the breakout level of that wick. ​ Trade Management: ​Fixed SL: 40 points (4 pips). ​Fixed TP: 40 points
I have a open source Tradingview indicator that I want it to be converted to Ninja Trader8. I have attached it. Please let me know, if you can do it and for how muc

Información sobre el proyecto

Presupuesto
500+ USD
Plazo límite de ejecución
a 30 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0