Get candle index by time

 
How can i get the index of a past candle -> iHigh(NULL, PERIOD_M1, index) -> if i only know the starttime of that candle?
 
jeex:
How can i get the index of a past candle -> iHigh(NULL, PERIOD_M1, index) -> if i only know the starttime of that candle?

iBarShift()
Reason: