This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

How to switch the TimeFrame in MQL?


Back to topics list
avatar
25
Shrak 2005.01.13 20:18 
Hi,

would be helpful if there was a possibility to get the OHLC from a bar, which is on an other timeframe.
for example:
i need the open from yesterday. so i need the historybars of the Day-Timeframe.
would be great if one can determine the timeframe to use, and the type of info one needs like (high, low, close, open)
the function highest() can do that.. but its not possible to find the original open of yesterday, nor the close...
avatar
4464
Slawa 2005.01.13 20:41 
see ArrayCopySeries function
avatar
25
Shrak 2005.01.13 23:34 
Thanks=) a LOT=)
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets