I'm missing something which I cannot see easily on google. Maybe I'm missing the point of header use.
'RefreshRates' - function not defined
when I compile a .mqh file.
The same applies for loads of other functions I'm trying to use in a header file.
How can I fix this?
I had a similar problem in the past when compiling .mqh files.
The compiler seemed to apply the rules for MQL5 not MQL4. In your case, RefreshRates() is not available in MQL5 (AFAIK SymbolInfoTick() negates the need for it).
I never actually solved the problem in the end. Hopefully someone else will be along shortly with an explanation/solution. Failing that, Service Desk.
To add comments, please log in or register