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.
I made a simple test indicator.
Results are like this:
testInput (EURUSD,M5) 14:32:48 Time Current + +10 * 3600 = 2010.08.16 17:32:34
testInput (EURUSD,M5) 14:32:48 Time Current + intPlus_10 * 3600 = 2010.08.16 17:32:34
testInput (EURUSD,M5) 14:32:48 Time Current + ExtINT_Plus_10 * 3600 = 2010.08.16 17:32:34
testInput (EURUSD,M5) 14:32:48 Time Current + InpINT_Plus_10 * 3600 = 2010.08.16 17:32:34
testInput (EURUSD,M5) 14:32:48 Time Current + InpLONG_Plus_10 * 3600 = 2010.08.16 17:32:34
testInput (EURUSD,M5) 14:32:48 ExtINT_Plus_10 * 3600 = 36000
testInput (EURUSD,M5) 14:32:48 Time Current + -10 * 3600 = 2010.08.15 21:32:34
testInput (EURUSD,M5) 14:32:48 Time Current + intMinus_10 * 3600 = 2010.08.15 21:32:34
testInput (EURUSD,M5) 14:32:48 Time Current + ExtINT_Minus_10 * 3600 = 2146.09.22 04:00:50 <<< miscalculation of time
testInput (EURUSD,M5) 14:32:48 Time Current + InpINT_Minus_10 * 3600 = 2146.09.22 04:00:50 <<< miscalculation of time
testInput (EURUSD,M5) 14:32:48 Time Current + InpLONG_Minus_10 * 3600 = 2010.08.15 21:32:34
testInput (EURUSD,M5) 14:32:48 ExtINT_Minus_10 * 3600 = -36000
Result times of ExtINT_Minus_10 and InpINT_Minus_10 are miscalculated,
otherwise the form of my code may be something wrong...