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
Hi, I hope you doing Greate, Let me share details , so the original EA already working but you can check and verify everything fine.First you verify that all original EA features are working correctly then add a user dashboard showing the number of detected zones, buy sell both none status, and an on off button. also ensure mitigated zones disappear properly and that trades follow the zone rules, and integrate the
I need a high-speed Expert Advisor (EA) for MT5 designed specifically for XAUUSD (Gold) scalping. The bot should focus on fast entries and quick profits with high efficiency. Main requirements: 1. Symbol: XAUUSD (Gold only). 2. Platform: MetaTrader 5. 3. Strategy type: Scalping (fast trades, quick profit). 4. The bot should open trades frequently based on fast market movements. 5. Small Take Profit (quick profit
Gold_m1_ob_bot. 30+ USD
import MetaTrader5 as mt5 import pandas as pd import time from datetime import datetime # ================== CONFIG ================== SYMBOL = "XAUUSD" TIMEFRAME = mt5.TIMEFRAME_M1 LOT = 0.01 MAX_OBS = 12 # keeps signals frequent ATR_PERIOD = 14 IMPULSE_FACTOR = 1.5 # strong candle = impulse SESSION_START = 8 # GMT (London open) SESSION_END = 20 # GMT (NY close) MAX_SPREAD = 30 #
I have existing compiled indicator and script files (EX4) and would like to have them recreated in both MQL4. ⚠️ Important: This project is NOT for decompiling or reverse engineering. Instead, the goal is to: Analyze the behavior and output of the provided files Recreate equivalent functionality from scratch Deliverables: 1 MQL4 indicator source code (.mq4) 1 MQL4 script source code (.mq4) Requirements: The recreated
I need a good programmer to help convert an existing indicator to a trading EA that can work on both MT4 and MT5. The expected features on the EA is as follows: Max Spread: Magic Number: Take Profit: Stop Loss: Trailing Stop: Fixed Lot Size: Money Management: false/true Min Lot Size: Max Lot Size: Risk to Trade %: Daily Profit Target %: Add news filter. Get my jobs with source code
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot

Informations sur le projet

Budget
45+ USD