Download MetaTrader 5

How to get candle position by time on history data?

To add comments, please log in or register
meiti
115
meiti  

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! 

Stanislav Korotky
20295
Stanislav Korotky  
You may use the Bars function (the second prototype). Pass your date as start_time.
To add comments, please log in or register