MQL5 EA to test my trading history with altered exits

Specification

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.

 

 


Responded

1
Developer 1
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
Similar orders
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 300 projects finish, and have good review and reputation from their client if you not qualified, dont apply! I will bidding the programmer from experience, review, reputation, price, and days working My EA using Moving Average, Average True Range, and using consecutives candle signals for buy and
I need an expert in the development of a fully automated trading robot For MetaTrader. The Trading Robot must be "Web based" so it can be accessed or used through a website, You can view a screenshot here; https://www.awesomescreenshot.com/image/48030918?key=79b0ff91455d862746e9b649341f4cdb Why do i need? Simple Enough, This is what i need from my Trading Robot EA. The Trading Robot can only be accessed through a
Maybe this indicator will make a good ea but the aggressive entry moves and conservative entry is stationary and target tp2 which will make it a 0.3:1 aggressive entry is around a 1:1 with Tp 2 I want conservative entry and do aggressive entry pls do that too with the option too switch in the settings I want sl tp and trailing stop fire filter and auto lots fixed lots I get
Metatrader 30+ USD
I would like to calculate the deviations between the companies listed below with Meta Trader. Would you be interested? BETWEEN 01.00 AT NIGHT AND 00.00 OF THE NEXT DAY (FOR HOURS WHEN THE GOLD MARKET IS OPEN) *Instant comparison of prices of the same parities of different companies *Determination of deviation rates in downward or upward movements (average prices, prices below and above the average) *Detection of
Maybe this indicator will make a good ea but the aggressive entry moves and conservative entry is stationary and target tp2 which will make it a 0.3:1 aggressive entry is around a 1:1 with Tp 2 I want conservative entry and do aggressive entry pls do that too with the option too switch in the settings I want sl tp and trailing stop fire filter and auto lots fixed lots I get
3 Indicators from Trading View: Ghost Tangent Crossings [ChartPrime] SuperTrend [KivancOzbilgic] Trendline Breakouts With Targets [ChartPrime] Pair: XAUUSD - M15 If you can write code based on these 3 indicators, please confirm with me so I can send more detailed information about the trading order entry rules. Từ vựng Hán tự Dịch Đang tìm kiếm ... Tiếng Anh Từ điển JP
Fully automated with profitable setfiles. I will pass you funded challenges in few days. Included: FXIFY, FTMO, KORTANA FX, The5ers, etc. You name it You dont have to do anything, just contact me and ill do rest
Greenprint strategy 30 - 100 USD
Hello i need someone who can create an indicator to show the resistance support and pivot areas like in the shown images the indicators are bollinger bands moving averages also we have rsi and ma . Pictures below. You should be able to do work properly requesting a trial check when work is complete the indicator should also work with synthetic indices
I want someone who can create a Automatic mobile trading bot/EA with my kind of strategy...Example: : When The market is buying and rejects an has created an M formation the First leg is higher than the second leg(first leg Higher high,second leg lower high then a line must touch the peak of the Higher high then connect with the peak of the lower High as a Footprint line,then there must be Another line that touches
SpotBot45 30+ USD
I know nothing about trading so am looking for a custom made automated trading bot with medium risk and maximum returns.I am looking for about a ten percent return per day minimum and minimise as much risk where possible

Project information

Budget
30 - 80 USD
For the developer
27 - 72 USD
Deadline
from 0 to 10 day(s)