Libraries: iBarShift - page 3

 
This is a code for mql5/MT5. No point to use it under mql4/MT4.

Sure, as it makes it easier to port my actual mt4 codes to mt5 later!

 
Carl Schreiber:

Sure, as it makes it easier to port my actual mt4 codes to mt5 later!

So is there a problem under MT5 ?
 
May be, as the used function of your function exists in mt5 as well and will probably have the same results?
 
Carl Schreiber:
May be, as the used function of your function exists in mt5 as well and will probably have the same results?
mql5 is not mql4. There is no problem with this code when used with MT5 as it was designed.
Reason: