how get time of a candle with shift of more than 1000 or 9000

 

Hi

the iTime function does not work for shift upper than 1000

for explaining better in the example below it does not work for (i > 1000):


for(int i=0; i<90000; i++)

Comment(iTime(NULL,0,i));

I have a complete history of data from 1970

I've searched and find out that some other people had this problem  but there was not any solution for it,

and I wonder if there is another way to find the time of far candle or not ?


thank you in advanced

Reason: