Yes, function iBarShift() is made just for these cases.
THis is just for MT4 .....is anythink for mt5 ?
Marcin Rutkowski:
https://www.mql5.com/en/code/1864
THis is just for MT4 .....is anythink for mt5 ?

iBarShift
- votes: 47
- 2013.10.25
- Alain Verleyen
- www.mql5.com
But this function is not included in MQL5, mainly because MQL5 provides all necessary basic, low-level, functions to process such operation in a library. What I discovered, remarkably, is that all four versions are bugged, in the sense they don't reproduce exactly the MQL4 iBarShift(). Indeed, when the datetime given as input parameter, don't...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
function
then how to get shift from one datetime?
Or
how to get OpenOrder's shift position.
now MT only get OpenOrder's datetion with function
Is it