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

MQL5 Experts Scripts Strategy modules

Specification

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 


Responded

1
Developer 1
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
Similar orders
hey friends, I am looking to build a smart trading robot, for the capital market. He knew how to trade in all the different types of trade. Example - in shares, currencies, index, indices, ETFs, funds, commodities, options, futures and so on. Suitable for trading on all stock exchanges in the world. It will be possible to install the trading robot in the MetaTrader 5 trading software. But it will also be possible to
This mql4 got entry blue line and exit red line and pips inside also calculated it uses haiken Ashi and murray Math settings if you this you up for this job let's discuss it we will talk more when you are chosen thanks in advance
i Want to convert this Trading View Code to Mt4 Indicator indicator("NEOM Smart Money Concepts ", "NEOM Smart Money Concepts " , overlay = true , max_labels_count = 500 , max_lines_count = 500 , max_boxes_count = 500 , max_bars_back = 500) //-----------------------------------------------------------------------------{ //Constants //-----------------------------------------------------------------------------{ color
Hello Amazing developer am looking for profitable EA for mt4 and made for some past year and i will be looking forward for your bid if you have mt4 EA let negotitate in the contact box best regartds
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing
MT5 | RENKO EA 30+ USD
I am looking for a developer who knows how to run EA on renko charts. I can backtest and optimize the EA on the renko charts, but I cannot run the EA on the chart. I have an EA which I like to modify to run on the renko chart. I am using this free EA to generate the renko chart: https://www.mql5.com/en/market/product/59665?source=External Thank you
Hello there, I need a mql4 EA based on pine script custom indicator. You need to do pine script indicator convert into mt4 advisor. If you are able to do please contact. Thanks
I need a AI signal generating bot for forex trading. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame whether they are buying or selling. If it is buying the arrow should be green and if it is
Hello great developer here am looking for expert developer will convert convert this Trading View Code to Mt4 Indicator and this is a simple indicator i will be expecting your bid peace be unto you
Using Bollinger Band only. When price closes above upper BB, open Buy. If the length of the candle body that closed above the upper BB is more than Y pips, then do not Buy and remove the EA. Otherwise, continue to open Buy if crosses and close above upper BB and the number of positions is not more than Max No of Positions. The user will choose either Buy or Sell only. When price closes below the lower BB, close all

Project information

Budget
50+ USD
VAT (23%): 11.5 USD
Total: 61.5 USD
For the developer
45 USD
Deadline
from 1 to 5 day(s)