Prices from different time frames

 

Hello guys, probably a stupid question, but I did not find a way to get all the tick information for a specific timeframe. For example I want to get all the highs, lows, open and close of a given time frame say M5 from january 1, 2012 to december 31, 2012. Is that possible, to put it in a array or in some form to do calculations? Is there a function that I can call?

 
NoCool14:

Hello guys, probably a stupid question, but I did not find a way to get all the tick information for a specific timeframe. For example I want to get all the highs, lows, open and close of a given time frame say M5 from january 1, 2012 to december 31, 2012. Is that possible, to put it in a array or in some form to do calculations? Is there a function that I can call?

Yes, CopyRates().
 
Wow...thank you very much. I don't know how I did not see that.

Thanks again.
Reason: