Calendar Economic Functions
Do the Calendar Economic Functions in MQ5 work during testing or optimization? It seems it doesn't, but I wonder if I am doing using them incorrectly.
this is the code that works find in live trading, but always returns false during testing/optimization.
The calendar does not work in the tester off the shelf. You need to make some work to export/import the records into the tester. You can find an example of such implementation in the algotrading book.
- www.mql5.com
Do the Calendar Economic Functions in MQ5 work during testing or optimization? It seems it doesn't, but I wonder if I am doing using them incorrectly.
this is the code that works find in live trading, but always returns false during testing/optimization.