MQL5 Script to automatically make several pre-determined strategy tests and compile the results

MQL5 EA 스크립트 Strategy modules

명시

I want to have a MT5 script/EA that runs a series of strategy tests on my EAs applying the definitions and restrictions settled in a csv file with all the inputs. Based on those definitions/restrictions each test finishes at the end date or is interrupted by the script/EA. Either way the results of each normally ended or script stoped test will be saved to a csv file with the defined output data.

 

Imagine I have a strategy to take an FTMO challenge every Monday of a given month and I want to have a script to test my EA for that. The strategy tests would have a defined start dates with an equity target1 (5%) and target2 (10%) to be achieved and a minimum equity defined (-10%). The output file will tell me the dates when the test was ended/stoped and the equity target values were achieved.


The attached example file shows a series of 6 different tests to be made and the output results expected. 


Backtester_Inputs (CSV File):

 

The Backtester_Inputs csv file will have several lines. The ideia is for example to test the same EA on diferent start dates, or to test the same EA with different set files.

 

Expert: EA name 

Set File: Set file to load 

Asset: Asset to test

Timeframe: Timeframe to test

Start Date: Start date of the strategy test

End Date: End date of the strategy test

Equity Target1: Equity target , when the test reaches that target the date is saved to the backtester_output file; if value is blank there is no target 1.

Equity Target2: Maximum equity accepted, when the test reaches that target the test is stoped and values are saved in the backtester_output file; if value is blank there is no maximum target2 so the test will finish at the end date.

Min Equity: Minimum equity accepted, when the test reaches that value the test is stopped; if value is blank there is no minimum.

Latency: Perfect execution; 10ms; 20ms; 30ms; 50ms; 100ms

Modelling: Same options of the strategy tester

Deposit Amount: 

Deposit Currency: Same options of the strategy tester

Leverage: Same options of the strategy tester (1:1 to 1:1000)

 


Backtester_Outputs (CSV File):

 

The backtester_outputs csv file will have a line with the following data for each test completed from start to end date or tests there were stopped by the script.

 

Expert: EA name 

Set File: Set file used

Asset: Asset tested

Timeframe: Timeframe tested

Start Date: Start date of the test

Target1 Date: The date when the equity target 1 was achieved.

End Date: End date of the test; if the test was stopped by the script (target2 or minimum equity achieved) it saves the date of the last trade before the interruption of the test

Final Equity: the equity value at the end of the test or at the interruption date 


응답함

1
개발자 1
등급
(57)
프로젝트
72
22%
중재
13
46% / 15%
기한 초과
5
7%
무료
비슷한 주문
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
(I can't pay 30 for this of course if you can just help.me solve this problem I would appreciate you )It was doing everything perfectly until yesterday this happened this is a python file that copies from telegram Iand send to ea signal if you have any idea what to do or why this happened please tell me
PROJECT: BYBIT PUMP & DUMP EARLY DETECTION ENGINE Fixed Budget: USD $1,000 – Complete Project I am looking for an experienced quantitative trading developer to design, develop, validate and deliver a professional standalone Python 3.12 module for detecting early pump and dump movements on Bybit USDT perpetual futures. IMPORTANT: This is NOT an MT4/MT5 indicator, Expert Advisor or a request to build a complete trading
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Best trader robot 499 - 550 USD
Objective: Develop a robust and highly profitable Expert Advisor (EA) for MetaTrader based on a precise custom trading strategy to achieve a high win rate. ​ Instrument & Timeframe: XAUUSD (Gold), optimized for M5 / M15 timeframes. ​ Entry Strategy: Open Buy/Sell orders based on strict confirmation signals (e.g., Moving Average crossover combined with Price Action or RSI threshold). ​ Lot Size & Risk Management
Titolo: Cerco sviluppatore per EA su XAUUSD M1 per conto reale Cerco uno sviluppatore MQL5 per creare un Expert Advisor per MetaTrader 5 su XAUUSD M1, da utilizzare su conto reale con deposito iniziale di 100–200 €. La strategia prevede un Buy Stop a 1,00 sopra l’Ask e un Sell Stop a 1,00 sotto il Bid, entrambi con stop loss iniziale di 1,00 e senza take profit fisso. I pendenti devono restare fermi: quando uno viene
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
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
Winter 500+ USD
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding

프로젝트 정보

예산
50+ USD
기한
에서 1 로 5 일