Jump to content

MT4 Backtesting - How to use your own FXT files (NOT MT4 generated data)


77z3

Recommended Posts

OK, so you may have some tick data in FXT files that you’d like to use for backtesting, but each time you start the test, the files are overwritten.

Here’s a quick workaround. Place the FXT files in your tester/history folder, and rename them all with “x” in the front.

 

Then add this simple code to your EA before start() function..

 

(Go here for the free piece of code: http://*******/Vie1Z6 )

 

What is does is after the MT4 generates the new FXT file, it copies your file over the MT4 generated file, and then it will proceed with the testing using your data.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...