Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 has structures?
gangsta1
1117
gangsta1 2015.01.12 23:06 

I am back testing with Renko charts and although some pairs work just fine for some reason other pairs open one trade then immediately close it and does not trade any more after that. The error I get is: "tester cannot calculate prices". I do not think that this is a bug with my EA as it works fine on some pairs with Renko charts but not so on others. Any ideas?

Keith Watford
Moderator
7952
Keith Watford 2015.01.12 23:23  

I am getting the same thing on non-Renko charts even with the example EAs. (build 765)

M1 history seems complete. 

This is with a spread betting MT4 platform. I don't know if that would make a difference or not. 

gangsta1
1117
gangsta1 2015.01.13 12:13  
Just to let anyone who has this same problem know, go to "Tester/Settings/Expert properties/Testing" and change the currency to one of those that you are trying to test. Found this solution on another thread: https://forum.mql4.com/42356
Keith Watford
Moderator
7952
Keith Watford 2015.01.13 12:26  

Thank you Gangsta.

My platform is a live account with GBP. After reading your post, I check the tester currency and it was USD. Changed it to GBP and the problem disappeared. 

/
To add comments, please log in or register