MQL5 EA to test my trading history with altered exits

İş Gereklilikleri

I am seeking a coder to write an EA to use in the strategy tester that will read my historic trades, and closely match my actual entries this year, with adaptive SL and TP based on pips or time to test if I can trade better by altering my exit plan. 

 

Dot Points on requirements:

  • MQL5 EA (open to suggestions if there are alternative ways to test)
  • To be used in strategy tester only
  • Reading a CSV file for exact time/date (or VERY close to), the market (UK100 and GER40 are used) and the entry price. 
  • Entering the market in line with my trading history at the specified market time (i.e. if my history traded on the 2nd Feb at 10:00:04 at price 13095 I want to see this in the tester).
  • Exiting in line with the stops from my history (as a phase 1 comparison test only to ensure results will be accurate)
  • Alternate exit options to allow me to test how long I should hold trades for in time and/or points

 

Basic purpose: To test my trading history and compare alternate exits to maximize my strategy in the future. 


Motivation

I have some live trade history files saved in csv, I would like to use MT5 to get the backtest result. Additionally, I sometimes need to modifies the SL/PT level of the trades, to see if its better than the original trades.

 

Provided csv file description

Read the provided csv trades history, which has the following files

 

  ID : position id

  Symbol : traded symbol

  Volume : traded lotsize, >0 for buy, <0 for short.

  En_Time : enter time of the position

  SL : stop loss price level placed when enter the trade, can be emtpy.

  PT  : profit take price level placed when enter the trade, can be emtpy.

  Ex_Time : exit time

 

Rows are sorted by “En_Time” file, the time format is “YYYY-MM-DD HH:MM:SS”.

 

What should the EA do

 

1.  Parse the csv file.

2.  In “OnTick” block, Place market order on time of “En_Time”, for “Symbol” with lotsize “abs(Volume)”, with direction of “sign(Volume)”. If “SL” and “PT” if not empty, place SL/PT according to the prices. The comment of the trade is set to “ID”

3.  If SL/PT is not hit, or there wasnt, exit the trade on time of “Ex_Time”.


Please note, I had someone attempt this already but it just places a series of orders that do not reflect my trading in the slightest. 

Considerations: Perhaps setting an order number or signifier to each trade will help to run through the orders correctly? I am open to suggestions. I do have some coding experience however I do not know the best way to make this work.

 

 


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(57)
Projeler
72
22%
Arabuluculuk
13
46% / 15%
Süresi dolmuş
5
7%
Serbest
Benzer siparişler
Multi-Asset AI Trading Bot Details Proposals I want a single, cohesive AI bot that can log in to MetaTrader, Coinbase, Robinhood, and TradingView, scan live market data, and execute trades automatically in stocks, forex, and crypto. The core logic must support day-trading, swing-trading, and scalping modes that I can toggle on a schedule or by simple configuration. The workflow I picture is: • Real-time data
I need someone that is able to develop for me a MT5 EA that perform VERY WELL on XAUUSD. Every strategy is accepted. By applying, please send me screenshot of results since 2018
Hello developers, I'm looking for existing, proven EAs (MQL5) that work flawlessly on MT5. Requirements: Demo version available for testing Backtest results + screenshots Verified trade history from 2018-2025 Budget is negotiable If you've got an EA that fits, hit me up
cần người tạo EA y thay đổi hình ảnh gửi đầy đủ tính năng như hình giá cả có thể tăng thêm khối lượng mong muốn viết giống hình không khác ROBOT HƠI NHIỀU TÍNH NĂNG MỌI NGƯỜI CÓ THỂ ĐƯA GIÁ THAM KHẢO
I want to develop and EA first to use for back testing, then to use for trading. This will be done on the 15 min timeframe. The EA must Identify sessions highs and lows with specific timings (Asian, London, NY), Place three EMA and ensure that the 50, 100 and 200 exponential moving averages are in order to give directional bias Sell bias = 50 below the 100, which is below the 200 Buy bias = 50 above the 100, which is
Need a HFT scalping EA 30 - 100 USD
Require the development of a high-speed HFT, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically
1. Background & MQL5 Journey: ¿Cuéntame un poco sobre tu background en trading algorítmico y qué te emociona de crear EAs de alto rendimiento? 2. Experience: ¿Cuáles son 2-3 EAs destacados que has creado (mercados, Sharpe, PF, señales/backtests)? 3. Institutional Results: ¿Puedes lograr Sharpe ≥3.0, PF >2.5, <10% DD en XAUUSD? ¿Qué te da confianza? 4. Demo EA: ¿Tienes una señal de EA top (MQL5/Myfxbook) con 100+
Here's the TradeStation ELD files that i want to convert to tradingview pine script (unprotected so you can see codes for indicators and systems/strategies) - let me know what you think it would cost? thanks i will be looking for great developer that will bid it for it and get started
Project Overview I am looking for an experienced MT5 (MQL5) developer to modify an existing Account Protection EA and, if required, extend it with custom logic. This is NOT a strategy or trading EA . The EA is purely for risk management, drawdown protection, alerts, and trading lock , suitable for prop-firm and managed accounts . Core Requirements 1. Alerts & Monitoring Alert on trade entry and trade exit Alert when
Need a pro dev to create an MT4 Expert Advisor ("Monitor EA") acting as execution firewall & auto-recovery controller for multiple EAs on XAUUSD (M1). How it works: Runs on blank chart; controls EAs via chart/template actions Closes/reopens charts to manage trades (EAs aren't editable) Targets IC Markets/VT Markets ECN Raw Source code handed over on completion Key Features:* XAUUSD (Gold) focus M1 timeframe

Proje bilgisi

Bütçe
30 - 80 USD
Son teslim tarihi
from 0 to 10 gün