Sorry for bothering with this rather trivial stuff, but I have spent already too much time on this.
The problem is, assigning the value of iTime() to a variable returns "0", instead of the datetime value.
Any idea?
prints "1367010960"
Fine.
But:
prints "0"
The problem is, assigning the value of iTime() to a variable returns "0", instead of the datetime value.
Any idea?
Inserted Code
Comment(iTime(NULL,PERIOD_M1,0));
Fine.
But:
Inserted Code
BarTime[1] = iTime(NULL,PERIOD_M1,0); //static datetime BarTime[] Comment(BarTime[1]);