How to get candle position by time on history data?

 

Hello everyone!

I want to get a CopyRate's start_pos for date's 2008.25.04 day's first candle.
How could I do it?

Thank you! 

 
You may use the Bars function (the second prototype). Pass your date as start_time.