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
Published: 3 articles
3
Developer 3
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 3 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
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
10
Developer 10
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
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
(24)
Projects
32
38%
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
(10)
Projects
9
56%
Arbitration
1
0% / 0%
Overdue
0
Working
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
(2)
Projects
3
33%
Arbitration
0
Overdue
2
67%
Working
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
🚀 THE AIRAK PHASE 3: SUBSCRIPTION, PAYMENT, LICENSING & AFFILIATE SYSTEM Project: THE AIRAK Trading Assistant Development Phase: Phase 3 Project Owner: Kayemba Joseph Platform: MetaTrader 5 (MT5) 1. PROJECT OBJECTIVE Phase 3 is intended to transform THE AIRAK into a subscription-based trading software business. The system should allow customers to register, purchase subscriptions, receive automatically activated
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 *
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
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
Experienced Trading Software Developer Needed – Multi-Platform Development Hello! I'm looking for an experienced developer to create a custom trading indicator and convert it into an automated trading bot for the following platforms: MT5 NinjaTrader 8 Quantower cTrader The plan is to develop the same indicator and trading bot for all four platforms, one after another. Project requirements: Custom trading indicator
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code

Project information

Budget
500+ USD
Deadline
to 30 day(s)