To use chat, please login.
Back to contacts

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

SaltyWaters
Oct 03 2012 at 22:12
247 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: https://bit.ly/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.


Cheers.

Please login to comment .