MQL5 EA to test my trading history with altered exits

指定

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.

 

 


応答済み

1
開発者 1
評価
(57)
プロジェクト
72
22%
仲裁
13
46% / 15%
期限切れ
5
7%
類似した注文
Personnal programmer 30 - 31 USD
Hey there! I’m looking for a talented NinjaTrader programmer to partner with on some exciting projects. If you have a knack for NinjaScript and a passion for trading tech, let’s team up! What You Can Expect: A friendly collaboration on diverse projects Fair pay—50/50 split on all earnings An opportunity to dive deep into innovative trading strategies What I’m Hoping You Bring: Experience with NinjaTrader and
Required to develop expert advisory which will work on any pair including crypto , forex, gold, silver, oil, simple stragy which will work on RSI,GRID, take profit, grid distance, start and stop button, only buy and only sell, filter for time frame Like 5m to 4 hr. stop loss and take profit .Detail will be shared once you except order
I need to fix the alerts of my SMC Order Blocks indicator, which is a custom indicator created for me some time ago. This custom indicator already has several types of alerts built-in, but I need to fix specific ones while keeping the other existing alerts unchanged, as those do not have any errors. The alert is for a specific Order Blocks pattern. This indicator graphically provides a zigzag, and from there, CHoCH
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Hi Guys, I am looking to someone that can generate an indicator for MT4 as explained below. Basically I would need that the indicator point out the price that will close my position in stop out/margin call. The indicator should pick automatically the level of trade out for the broker (which can be different from a broker to another broker) It should write (ideally on the bottom on the left) the following information
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown

プロジェクト情報

予算
30 - 80 USD
開発者用
27 - 72 USD
締め切り
最低 0 最高 10 日