galantis / Publications
Forum
datetime reverting with iTime/iBarShift bug?
datetime dt = iTime ( NULL , PERIOD_D1 , 6 ); datetime dt2 = iTime ( NULL , PERIOD_M5 , iBarShift ( NULL , PERIOD_M5 , dt)); Print (dt); Print (dt2); When executing the above code, I get the following: 2019.12.28 16:38:12.284 test EURUSD-ECN,H1: 2019.12.17 23:55:00 2019.12.28 16:38:12.284