I'm really struggling to understand the time concept. I need to set a variable "tradeno" to 0 if the time is between 07:00 and 08:00. Can anyone post the code to do this.
On NinjaTrader it would be :-
if (ToTime(Time[0]) > 70000 && ToTime(Time[0]) < 80000)
But I cannot find or workout the equivalent in MT4.
Many thanks. spent hours so far!
Nigel.
On NinjaTrader it would be :-
if (ToTime(Time[0]) > 70000 && ToTime(Time[0]) < 80000)
But I cannot find or workout the equivalent in MT4.
Many thanks. spent hours so far!
Nigel.