Download MetaTrader 5

iBarShift() in MQL5?

To add comments, please log in or register
Arturo Lopez Perez
162715
Arturo Lopez Perez 2014.05.14 11:29 

Good morning,

I am trying to read the close price for a given past time. In mql4 I used the iBarShift() function which is not in mql5.

Has anyone solved this problem?

Thanks in advance.

-A

Arturo Lopez Perez
162715
Arturo Lopez Perez 2014.05.14 11:47  
PzTrading:

Good morning,

I am trying to read the close price for a given past time. In mql4 I used the iBarShift() function which is not in mql5.

Has anyone solved this problem?

Thanks in advance.

-A

Found it! Thanks Alain!

https://www.mql5.com/en/code/1864

iBarShift
iBarShift
  • votes: 25
  • 2013.10.25
  • Alain Verleyen
  • www.mql5.com
There is a lot of users who searched for iBarShift function like in MQL4. But this function is no more include in MQL5, mainly because MQL5 provides all necessary basic, low-level, functions to process such thing in a library.
Alain Verleyen
Moderator
31134
Alain Verleyen
Moderator
31134
Alain Verleyen 2014.05.14 11:48  
PzTrading:

Found it! Thanks Alain!

https://www.mql5.com/en/code/1864

To add comments, please log in or register