Build a Script to Automate MT5 Optimization & Forward Validation

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(395)
Projets
556
41%
Arbitrage
30
57% / 3%
En retard
57
10%
Gratuit
Publié : 11 codes
2
Développeur 2
Évaluation
(75)
Projets
111
50%
Arbitrage
26
31% / 50%
En retard
9
8%
Gratuit
3
Développeur 3
Évaluation
(1)
Projets
2
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
Publié : 2 articles
4
Développeur 4
Évaluation
(2)
Projets
3
33%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(3)
Projets
2
50%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
7
Développeur 7
Évaluation
(7)
Projets
5
0%
Arbitrage
5
0% / 80%
En retard
1
20%
Travail
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(258)
Projets
269
29%
Arbitrage
1
100% / 0%
En retard
3
1%
Travail
Publié : 2 codes
10
Développeur 10
Évaluation
(45)
Projets
52
58%
Arbitrage
2
100% / 0%
En retard
1
2%
Travail
Publié : 5 codes
11
Développeur 11
Évaluation
(4)
Projets
3
33%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
12
Développeur 12
Évaluation
(39)
Projets
52
19%
Arbitrage
15
27% / 67%
En retard
8
15%
Gratuit
Publié : 1 code
13
Développeur 13
Évaluation
(23)
Projets
31
35%
Arbitrage
4
50% / 25%
En retard
5
16%
Travail
14
Développeur 14
Évaluation
(20)
Projets
26
38%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
15
Développeur 15
Évaluation
(3)
Projets
3
33%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(16)
Projets
20
0%
Arbitrage
10
0% / 80%
En retard
6
30%
Gratuit
17
Développeur 17
Évaluation
(2)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
18
Développeur 18
Évaluation
(3)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(3)
Projets
1
100%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
20
Développeur 20
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
21
Développeur 21
Évaluation
(33)
Projets
36
33%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
22
Développeur 22
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
24
Développeur 24
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
25
Développeur 25
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
26
Développeur 26
Évaluation
(74)
Projets
84
64%
Arbitrage
5
100% / 0%
En retard
9
11%
Gratuit
27
Développeur 27
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Buying profitable EA Budget up to 1.5k (Serious offer) Specification EN I will pay 1.5k (negotiable) for an EA for existing MT4 that generates a minimum of 5% or higher a month consistently no monthly DD more than 5% on ,5k account Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. Developer should be willing
1- The EA must h ave a unique strategy specialized on make trades with very very low RRR, so basicaly risking 1475$ to make 100$, with an ammount adjustable of trades per day. (This is very important that i wish in 100 trades, it makes a maximum of 10 trades of mistake, maybe less...) 2- The EA must have the strategy specialized on INDEX CFD. 3- The EA must make each trade with more than 3 minutes, and less than 12h
I need an MT4 Expert Advisor (MQL4). 1. Open one Buy and one Sell trade simultaneously. 2. Adjustable lot size (default 0.01). 3. Stop Loss on both trades. 4. If one trade hits Stop Loss: - Do not open a replacement trade. - Leave the remaining trade open. 5. Optional trailing stop: - On/Off switch. - Adjustable distance. 6. When the remaining trade closes: - Open a new Buy and Sell pair. - Repeat continuously
Hi, I Wanne have a trading robot that give me signals for short buy and sell. And only for all currency in forex trading and also can use it on mt5
I will pay 2500 to 10000 USD (negotiable) for one MT5 Expert Advisor, built properly. One robot done right, not a batch of cheap jobs. I have a strategy I believe in and a rough draft robot I built myself. The logic is there. The execution is not. That last part is outside my expertise, which is why I am hiring instead of continuing on my own. I am open to feedback on the strategy itself. If you see something in it
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
Wise Legend 30 - 500 USD
I want this robot to alert me on a good entry point on the trading flat form ether to buy or to sell. And also alert me when to close the market. And alert me on market continuations
I have an existing MT5 Expert Advisor with the original MQ5 source code. I need an experienced MQL5 developer to review, debug and professionally improve the existing EA, not build an unrelated EA from scratch. The EA is mainly for XAUUSD and already contains entry signals, EMA filters, automatic lot sizing, basket profit management, spread/margin protection, news filtering and recovery logic. The main problem is the

Informations sur le projet

Budget
500+ USD
Délais
à 30 jour(s)