Testing Features and Limits in MetaTrader 4 - MQL4 Articles
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
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
Did you ever figure this out, this is giving me problems also.
Thanks,
BB
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
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
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

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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?