Download MetaTrader 5

Tester: exchange rate cannot be calculated

To add comments, please log in or register
Jean-Luc Plagnaud
300
Jean-Luc Plagnaud  

Hi,


I get this error "Tester: exchange rate cannot be calculated" when trying to backtest indexes such as _DJI on Alpari. This error doesn't occur on Forex, Futures or CFD just indexes.

I saw that this error was mentioned in the old forum (in Russian) and using Google translate I somehow understood that the solution should be to change the currency in the settings (Expert properties / Testing/ Initial deposit) from USD to something else. In the Russian forum it was mentioned to put RUR as I guess it was Alpari RU.

Now the demo accounts are with Alpari NZD, so I tried RUR, NZD and other currencies as well but still the same error.


Any idea?

whroeder1
15692
whroeder1  
The tester can not get rates except for the current symbol
Testing Features and Limits in MetaTrader 4 - MQL4 Articles
Jean-Luc Plagnaud
300
Jean-Luc Plagnaud  
WHRoeder:
The tester can not get rates except for the current symbol
Testing Features and Limits in MetaTrader 4 - MQL4 Articles

Unfortunately it is not this. I test _DJI and it is the current symbol. I am not acting on other pairs / symbols.

And it works for all pairs in Forex, Futures...

So if it would be such an error I should get the error all the time not only for indexes.

Note as well that this error comes before the EA actually start runing the code behind "start()". it comes before the list of parameters in the Journal so it is an internal tester error.

There is something special to configure for indexes I think

Jean-Luc Plagnaud
300
Jean-Luc Plagnaud  
jlpi:

Unfortunately it is not this. I test _DJI and it is the current symbol. I am not acting on other pairs / symbols.

And it works for all pairs in Forex, Futures...

So if it would be such an error I should get the error all the time not only for indexes.

Note as well that this error comes before the EA actually start runing the code behind "start()". it comes before the list of parameters in the Journal so it is an internal tester error.

There is something special to configure for indexes I think

any idea from Metaquotes people?
Patrick
154
Patrick  

Did you ever figure this out, this is giving me problems also.

Thanks,

BB

OneDay
115
OneDay  
Bauer_Boy:

Did you ever figure this out, this is giving me problems also.

Thanks,

BB

I could be wrong, but I thought that some brokers had the DJI in the choice of charts to display for reference but not trading. Trading would be done via a YM cfd. Perhaps this would explain why you cannot get the the information for testing....

Regards

Patrick
154
Patrick  
I see what you're saying, but i'm getting the issue with the EUR/GBP pair...which should be allowed.
Fibarchie
3
Fibarchie  
Just had same proble. Check the currency is correct in Expert properties. I had same error with account in GBP which was set to USD. My EA could not execute the command MarketInfo(Symbol(),MODE_TICKVALUE
Simon Gniadkowski
Moderator
18021
Simon Gniadkowski  
Fibarchie:
Just had same proble. Check the currency is correct in Expert properties. I had same error with account in GBP which was set to USD. My EA could not execute the command MarketInfo(Symbol(),MODE_TICKVALUE
You are 2 years late answering the question.
whroeder1
15692
whroeder1  
Fibarchie:
Just had same proble. Check the currency is correct in Expert properties. I had same error with account in GBP which was set to USD. My EA could not execute the command MarketInfo(Symbol(),MODE_TICKVALUE
Then contact your broker. THEIR settings are boken.
Mike05
15
Mike05  
I deciphered the error tester at home. How do you work offline in 99% tick data, currency assigned to your account (based on the broker when setting up MT4 trial for tick data - Birt `s Patch) account had" founded "in the euro and the error appeared as seting EA have set currency Current Issues to another.
12
To add comments, please log in or register