Multi-currency backtesting in MT4
Posted: Fri Nov 13, 2015 6:11 pm
Hello Tickstory,
I've written an EA in mql4 that reads data from other currency pairs. For example if the EA is running on EURUSD, it will read in the high and low of the candle on the GBPUSD using iHigh and iLow. The problem is it doesn't seem to work in the strategy tester with Tickstory data.
I have all of the fxt files ready in the history folder that I have exported direct from Tickstory but the EA just seems to quote the same price for the open, high, low and close of any currency pair other than the one it is running on.
Is there anything special I should be doing to enable it to do this?
I basically want to do something similar to what this person was doing:
http://www.tickstory.com/forum/viewtopic.php?f=4&t=411
He managed to get this working so it should be possible. Do you have any suggestions where I could be going wrong? Do I need to import the data into the terminal from within MT4?
Thanks.
I've written an EA in mql4 that reads data from other currency pairs. For example if the EA is running on EURUSD, it will read in the high and low of the candle on the GBPUSD using iHigh and iLow. The problem is it doesn't seem to work in the strategy tester with Tickstory data.
I have all of the fxt files ready in the history folder that I have exported direct from Tickstory but the EA just seems to quote the same price for the open, high, low and close of any currency pair other than the one it is running on.
Is there anything special I should be doing to enable it to do this?
I basically want to do something similar to what this person was doing:
http://www.tickstory.com/forum/viewtopic.php?f=4&t=411
He managed to get this working so it should be possible. Do you have any suggestions where I could be going wrong? Do I need to import the data into the terminal from within MT4?
Thanks.