Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
when I open my metatrader account and use the following functions on my ea:
iTime(Symbol(), PERIOD_D1,0)
or
iBarShift(Symbol(), PERIOD_M1, TimeTemp,true)
I get sometimes on the first call a different result as in the second call (on tick after).
Does anybody realized the same?
Should I call this functions once in my init() function to avoid this function.