MT5 Expert Advisor to replay orders from file with SL and TP as % or Pips as input

MQL5 Experts

Spécifications

Hi 

I would attach a MT5 history file as XML.

The EA will read the orders from file and run in "Strategy tester" to back test the orders. 

Will run in Strategy tester -

Input:

0- Entry offset: With this parameter being negative or positive pips the strategy tester will offset in the order entry depending on the buy or sell order. Positive offset means order entry will be moved up in buy and moved down if it is sell, Negative is just the opposite. It might be the case that due to offset the order execution might not be possible. After order close time the opportunity of entering a trade is cancelled. 

1- order file. Attached CSV format. (In reading the file make sure parellel processing in the MT5 optimiser functions properly. Developer must make sure optimizer in strategy tester works properly ie. Must avoid errors due to parallel executions trying to read from the same file.)

2- SL and TP (as pips or %) - (In the orders file there is "Close Pricing" available. If SL and TP is not set the EA should use the "close price". Either or both of the TP&SL can be declared or can be voided. 

Output:

MFE and MAE for each order must be displayed next to standard order report in the strategy tester results file.

In default it just display the MFE and MAE as graph but I can not reach to the source list of orders. (May be you can suggest an alternative way...)

FYI: 

Running the past orders in strategy tester as backtest calculates many important stats. This is the reason of backtesting. On the other hand I want to run optimiser to test different TP and SL levels and Offset values. Those require strategy tester optimiser runs... 

SO I would need backtesting EA in Strategy tester and MFE+MAE results of each order...



Dossiers :

CSV
historyTest.csv
500.5 Kb

Répondu

1
Développeur 1
Évaluation
(251)
Projets
314
28%
Arbitrage
34
26% / 65%
En retard
10
3%
Travail
2
Développeur 2
Évaluation
(171)
Projets
195
42%
Arbitrage
13
8% / 54%
En retard
9
5%
Gratuit
Publié : 3 codes
3
Développeur 3
Évaluation
(10)
Projets
15
13%
Arbitrage
6
0% / 67%
En retard
2
13%
Gratuit
Commandes similaires
I have a specific channel need to copy and modify signal from that channel. It will buy and sell from signal and modify based on signal. I’ll add few more functions in the ea
[Automatic Level Detection Group] - Enable Auto Detection: Yes/No - Number of Levels Required: (Number) 3-5 - Lookback Bars: (Number) 100-200 - Minimum Touches for Strong Level: (Number) 2 - Use Zig Zag Algorithm: Yes/No - Use Level Clustering: Yes/No - Max Cluster Distance (points): (Number) [Display and Drawing Group] - Resistance Line Color: (Color) - Support Line Color: (Color) - Show Info Labels: Yes/No - Lines
Hello, I am searching a good programmed to convert EA from mql5 into pinescript and DX TRADE made automatisation. Source of code required. Budget is negotiable. Thanks for attention and have a nice day
Profitable EA for sell 200 - 1000 USD
I am having 2 very proven and profitable EA which will give you profit and at the end of week you are always in profit. 1 This bot is safe bot and it generates handsome amount of profit with very less drawdown and high accuracy of 75-85%. 2. This bot is very aggressive and will suggest to go with only when you are having big capital and wanted to take more risk. It can make your account multiple fold
Looking for a Marketing Partner for my EAs! I am a developer looking for an experienced partner to help promote and market my Expert Advisors (MT4/MT5). How it works: > * I handle the coding, updates, and technical support. You handle the marketing, outreach, and bringing in traders. Compensation: We work on a Revenue Share / Profit Split basis. If you have an audience of traders or know how to market forex tools
Money wizard 30 - 200 USD
I Malwande Linda require a trading bot that would for me because I don't usually get ft time to seat and analyze the chat. I want a robot that would analyze the market and take trades for me. I want a robot that will make money weekly because I'm a student so Fridays are not busy days for me I want a robot that I can trust. I also would appreciate some indicators on my live account so that even when I'm not using a
EA based on CSV 50+ USD
Hello Developers, I need some consultation to help narrow down an idea and develop an EA. I have a csv file that stores data like this: Date portfolio portfolio_value 18/11/2025 ['EURNZD', 'EURCAD', 'EURJPY', 'EURCHF', 'AUDNZD', 'AUDCAD', 'AUDJPY', 'AUDCHF', 'USDNZD', 'USDCAD', 'USDJPY', 'USDCHF', 'GBPNZD', 'GBPCAD', 'GBPJPY', 'GBPCHF'] 1.7970698812202368 19/11/2025 ['CHFAUD', 'CHFNZD', 'CHFGBP', 'CHFJPY', 'EURAUD'
* For Buy - Time = greater than _______ and Less than ______ Remove SL , Time = greater than _______ Replace SL At _______ and also Spread= Less than ( points) ________ ( Same condition for sell side also ) at opposite direction . * For Buy - Time = greater than ______ and price is Below _______ and spread is lower than ( points) _____ cut loss . ( Same condition for sell side also) At opposite direction
Trading can take us to the top but trading robots would take us to the sky with trades, money and more. Trading is about learning how to make money and become successful without pressure. I need an excellent trading robot with excellent skills and knowledge
The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). The strategy is already fully defined with exact logic, scoring system, entry rules, risk management, and execution protection (spread, slippage, deviation). Please follow the specification strictly without any discretionary interpretation

Informations sur le projet

Budget
45+ USD