how to open high, close, low price in mt5?

 

for example,I want to get OPEN,HIGH,CLOSE,LOW price of week to use  on the current H4 chart,

I also want to get the open time of week to use on the current H4 chart 

Is there any fuction like iHigh() in mql4 ? iTime() ?

Thanks. 

 
peter100:

for example,I want to get OPEN,HIGH,CLOSE,LOW price of week to use  on the current H4 chart,

I also want to get the open time of week to use on the current H4 chart 

Is there any fuction like iHigh() in mql4 ? iTime() ?

Thanks. 

No, there is no iHigh or iTime function. You have to use CopyXXXX functions. CopyOpen(), CopyHigh(), CopyLow(), CopyClose() ... See documentation
Reason: