I did not want or ask for the mql4 update because I did not want to destabilize what I've had running. But when I restarted, there was the update and now some things that have been working for months/years, are now broken.
Q1: Does anyone know how to fix datetime under this update?
Q2: Is there new documentation? References to date time in "Documentation" date from 1999, I haven't found any update on syntax.
Q3: Has array syntax changed? datetime? Time?
int thisBar=datetime Time; <- this has worked in my code like, forever, years, until this update. Worked yesterday, not today.
now generate 4 errors:
'Time' - unexpected token
'[' - unexpected token
'[' - array required
'datetime' - expression expected
MT4 people: this is why I wanted a choice about updating. To get into upgrade problems like this in my own time, on a test EA. But I'm shut down for now. Any help would be greatly appreciated.
For documentation, press F1 in MetaEditor.
The syntax used is weird. Try this :