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
(248)
Projets
310
28%
Arbitrage
32
28% / 63%
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
Greetings. If you have time, please contact me if you would like us to continue the previous work. If you wish, I have removed the background image, which was the problem we had, and I will discuss the work again. Regarding work Expert advisor modification for the MetaTrader 5 platform
1. Objective A fully automated trading bot that: • Trades USD-quoted assets (forex pairs like EUR/USD, GBP/USD, crypto markets with USD trading pairs, and USD-denominated stocks/ETFs). • Uses real-time data to detect trends and place entries/exits based on multiple strategies. • Maximizes profit while maintaining robust risk controls and drawdown limits. 2. High-Level Architecture Components Component Purpose Data
I am looking for an experienced developer that can design an EA that detects impulse in the market and trade in the direction. The EA will have good risk management with trailing drawdown. The developer should have an idea of what instrument the EA will use to detect the impulse and trade in that direction
Hello I want to convert my tradingview indicators into Ninja trader can anyone help me with it it is urgent and I will like to discuss more about it to you if you can help me Kindly do well to bid on it
I need a custom MT5 Expert Advisor with the following rules: Strategy: - Timeframe: M15 (adjustable input) - Indicators: - MACD (12,26,9) - SMA 200 as trend filter Entry rules (CLOSED candles only): - BUY: - MACD main crosses above signal on closed candle - Price close above SMA 200 - SELL: - MACD main crosses below signal on closed candle - Price close below SMA 200 General rules: - One trade at a time per
Hi everyone, I’m currently working on a private automated trading software designed specifically for XAUUSD (Gold) . This is not a signal service and not a high-frequency robot. The focus is on controlled risk, patience, and capital protection . Key points (shared briefly, not promotional): Trades one cycle at a time (no overtrading) Uses pure price behavior (no EMA, no indicators) Built-in break even and
Hey I am an experienced Seasoned forex trader looking a well automated reliable ea robot for metatrader 5, it must be a win win highly profitable algorithm trading system running 24/7 without any issue, working automatedly based trend market conditions with Optimal trading performance of massive trading returns, if you have such an amazing ready made mt5 robot, kindly reach out with both demo version and backtesting
📌 JOB DESCRIPTION – FULLY AUTOMATED TRADING SYSTEM I am looking for an experienced developer to build a fully automated end-to-end trading system for MetaTrader 5. This is not an indicator-based bot and not a discretionary or black-box AI system. The system must follow a strict, deterministic rule-based trading framework that is already defined. 🎯 PROJECT GOAL Build a system where: A backend continuously evaluates
Bot007 50 - 200 USD
*Bot Name:* SupportShield *Description:* SupportShield is a cutting-edge trading bot that uses advanced technical analysis to identify key support and resistance levels in the market. By leveraging these levels, the bot provides traders with actionable insights to make informed trading decisions. *How it works:* 1. *Support Level*: The bot identifies a support level, where the price tends to bounce back or
Option 1: Professional & Technical (Recommended) "MT5: Advanced Trade Management with Recursive Logic and Directional Flipping" Why it works: It sounds like a sophisticated management tool. "Recursive logic" signals that the EA needs to remember what happened in the previous trade. Option 2: The "Safety" Angle (Discrete) "Expert Advisor Developer Needed for Custom Risk Management & Sequential Order Execution" Why it

Informations sur le projet

Budget
45+ USD