how to get bar index (or shift) number from time?
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...
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