Build a Script to Automate MT5 Optimization & Forward Validation

Specification

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

Responded

1
Developer 1
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(75)
Projects
111
50%
Arbitration
26
31% / 50%
Overdue
9
8%
Free
3
Developer 3
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 2 articles
4
Developer 4
Rating
(2)
Projects
3
33%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(3)
Projects
2
50%
Arbitration
1
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(7)
Projects
5
0%
Arbitration
5
0% / 80%
Overdue
1
20%
Working
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(258)
Projects
268
29%
Arbitration
1
100% / 0%
Overdue
3
1%
Loaded
Published: 2 codes
10
Developer 10
Rating
(45)
Projects
52
58%
Arbitration
2
100% / 0%
Overdue
1
2%
Working
Published: 5 codes
11
Developer 11
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
12
Developer 12
Rating
(39)
Projects
52
19%
Arbitration
15
27% / 67%
Overdue
8
15%
Free
Published: 1 code
13
Developer 13
Rating
(23)
Projects
31
35%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
14
Developer 14
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
15
Developer 15
Rating
(3)
Projects
3
33%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
17
Developer 17
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
18
Developer 18
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(33)
Projects
36
33%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(74)
Projects
84
64%
Arbitration
5
100% / 0%
Overdue
9
11%
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
take your time better make it for days and have good bot than never benefits both of us. Make the bot have zero errors and backtest it for a 2 year period
I buy EA for USDEUR or XAUUSD for FTMO with proven backtest. Send me images with backtest reports where daily max dd is 1% on 200k account. I can buy several eas if you have them with proofs. Need images of backtesting for 5 years
I am looking for a professional and market-savvy MQL developer to build a disciplined, stable Scalping Expert Advisor (EA). The ideal developer must have a solid understanding of Trend Identification, Fibonacci Levels, and Technical Indicators , alongside strict risk management implementation. Key Focus Areas & Developer Requirements: Market & Analysis Expertise: ⚬ Deep understanding of Trend direction (Market
I need an expert Ninjatrader8 developer that can build this indicator. Can you build indicator like this? Ather https://share.google/HaxK5snnOWFR08ghd If you know you can do this send me message or bid to my proposal
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
Access and confidentiality restrictions: You will receive only a separately named copy of the Commander . Existing trading EAs, presets, account credentials, Telegram credentials and proprietary entry/exit code will not be shared. The Commander intelligence must be developed using: Defined signal/input interfaces Anonymized historical logs and replay data Mock EA signals and test harnesses Documented authority and
We are looking for an expert algorithmic trading developer to build a high-performance, fully automated Custom Expert Advisor (EA) or trading bot. The bot must integrate advanced Smart Money Concepts (SMC) , Inner Circle Trader (ICT) methodologies, and Volume Spread Analysis (VSA) with a high-frequency trading (HFT) style execution and scaling model. The core objective is to program a bot that identifies
Automatic buy and sell entries. stoploss (sl) take profit (tp) risk management and adjustable lot size. Adjustable risk percentage per trade. Trailing stop maximum number of open trades. Trading hours filter. Ability to backtest and optimize the strategy. Easy to use settings. The EA should work reliably on mt5 and provide the source code. I want the developer to test the EA and provide backtest results before
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained

Project information

Budget
500+ USD
Deadline
to 30 day(s)