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%
무료
비슷한 주문
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Hey greetings. Am in need of a developer that has already made profitable MT4 or MT5 EA that I can buy with the backtesting and proven result. How is the draw down ? What is the winning rate ? Kindly reply and let proceed
I will buy your EA for MT5, in case that on distance it is able to make a profit of 10% per month. - Martingale methods and grid strategies should not be used as the basis of a trading strategy. - Excellent win rate (>80%) - High risk/loss management - Option to select direction of trading (long, short or both) - News filter - Editable Trading Hours I will need to test in the strategy tester and on live market (on
Hello, i need a good programmer; to code an EA to trade the most productive forex pairs (mainly 2 for the day, and 2 for the night+gold), the strategy is based on the use of one moving average and the rsi, thank you in advance
a gap between 1 pip opposite order open continue once tp hit ea change position and start from 1 everything is manually adjustable tp gap pip and pip all show start from 0.01
I have a mql4 license mql4 code,, there have a 1 error '( WebRequest' - no one of the overloads can be applied to the function call) fix this error,, and make sure it work properly,,{ it's bass on kernel32.dll } this license system Base on pc volume serial number. If you're a expert developer kindly contact with me ,, Write a text " License system devoloper " Telegram @Gw_rakib1
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hi, i will provide a dll .use it's functions develop a backend code copy trading .it should a master accounts and slave accounts based of the mapping with the copy parametsrs it should start copy trades between the master and slave .one slave should be able to copy from Mutiple master and some basic fronted access to be created using the angular js

프로젝트 정보

예산
30 - 80 USD
개발자에게
27 - 72 USD
기한
에서 0  10 일