Question on iBarShift
mt4forum:
Read this thread: https://www.mql5.com/en/forum/143687
Hi,
I'd like to add just another question to the iBarShift discussion:
e.g.
iBarShift("EURUSD", PERIOD_H4, D'2013.06.21 14:10' , true) currently returns 62.
I would have expected it to return -1, since there is no bar in PERIOD_H4, opening exactly at D'2013.06.21 14:10' .
So when would it return -1 then?
Thanks,
found the answer in the link.
Hi,
I'd like to add just another question to the iBarShift discussion:
e.g.
iBarShift("EURUSD", PERIOD_H4, D'2013.06.21 14:10' , true) currently returns 62.
I would have expected it to return -1, since there is no bar in PERIOD_H4, opening exactly at D'2013.06.21 14:10' .
So when would it return -1 then?