Download MetaTrader 5

What time is Time[0] ?

To add comments, please log in or register
ffoorr
1046
ffoorr 2014.04.27 07:43 

Say TimeFrame is 1 Mn,

is Time[0] the first tick received after 00'

Or is Time[0] the first tick send by the broker after 00'

What's the precision of Time[0] ?

Ex Ovo Omnia
3198
Ex Ovo Omnia 2014.04.27 08:13  
Time[0] is a (last) candle time, it has no exact relation to ticks nor to precision.
Keith Watford
Moderator
9639
Keith Watford 2014.04.27 08:15  
Time[0] is the open time of that bar. It is the earliest time that a tick could be received in that bar. If the first tick arrives exactly at the bar open time, 10 seconds after, 20, 30 or 59 seconds, Time[] will be an exact multiple of 60 in the M1 timeframe.
ffoorr
1046
ffoorr 2014.04.27 08:47  
GumRai:
Time[0] is the open time of that bar. It is the earliest time that a tick could be received in that bar. If the first tick arrives exactly at the bar open time, 10 seconds after, 20, 30 or 59 seconds, Time[] will be an exact multiple of 60 in the M1 timeframe.

Thank' for answer

But how do my computer know it's Time[0] ?

Is this information send by the broker ?

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.04.27 08:51  
Yes, via Ticks.
To add comments, please log in or register