MQL4 - automated forex trading   /  

Forum

Tester: exchange rate cannot be calculated

Back to topics list To post a new topic, please log in or register

avatar
93
jlpi 2010.08.26 16:59 

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?

Step on New Rails: Custom Indicators in MQL5

Step on New Rails: Custom Indicators in MQL5

In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.


avatar
4328
WHRoeder 2010.08.26 18:35 
The tester can not get rates except for the current symbol
Testing Features and Limits in MetaTrader 4 - MQL4 Articles

avatar
93
jlpi 2010.08.27 10:39 
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


avatar
93
jlpi 2010.08.31 13:50 
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?

avatar
59
Bauer_Boy 2010.10.12 22:27 

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

Thanks,

BB


avatar
43
oneday 2010.10.12 23:09 
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


avatar
59
Bauer_Boy 2010.10.14 20:05 
I see what you're saying, but i'm getting the issue with the EUR/GBP pair...which should be allowed.
Back to topics list  

To add comments, please log in or register