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
(253)
Projets
316
29%
Arbitrage
34
26% / 65%
En retard
10
3%
Gratuit
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
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need an Expert Advisor based on SK indicator for gold trading. Entry: - Open trade immediately when SK signal appears Stop Loss: - Fixed stop loss = $200 per trade Take Profit: - TP1: close 50% of the position - TP2: final target Lot Size: - Fixed lot = 0.02 Pair: - XAUUSD only Timeframe: - M15 Rules: - Only one trade per signal - No duplicate trades - Move stop loss to breakeven after TP1 Requirements: - The EA
i am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes. The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
I need a very profitable scalping robot for gold trading at M1 timeframe. I should have adjustable trailing stop, step, SL, TP in points it should use both trade opening and pending orders just as in the links below https://vt.tiktok.com/ZSHj9cD5w/&nbsp ; https://vt.tiktok.com/ZSHjHFvkg/&nbsp ;
Ea with MM Masaniello 50 - 200 USD
I would like to develop a bot that allows me to manually input trades based on the Masaniello money management system, which I will configure at the outset. Within this setup, I will be able to define all the key parameters of the Masaniello strategy, including the total number of events, expected winning events, stake ratio (i.e. the TP/SL ratio), and the initial capital. Once the Masaniello parameters are set, the
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted

Informations sur le projet

Budget
45+ USD