is mql5 too hard for me to understand - can't find price at time

 
i have been searching for two hours how to find price-at-time in the mql5 documentation and it has eluded me - any help?
 
grjake:
i have been searching for two hours how to find price-at-time in the mql5 documentation and it has eluded me - any help?

i solved my problem by working hard to get through the documentation and the libraries and code examples

the solution is to use CopyRates to search an arbitrary length in the symbol history and doing lots of string work on date/time structures to get to the right bar in the list