Trading Funded / Publications
Forum
Undeclared identifier error when using TimeCurrent and TimeHour in MQL5
Hi, I'm having trouble compiling a few simple time-related helper functions in my MQL5 code. The compiler gives me the following errors: 't' - some operator expected 'TimeHour' - undeclared identifier Similar errors for TimeDayOfWeek and TimeDay Here's an example of the code that's causing the