Hi, I've created an EA for MT4 that scans all the Forex pairs and all timeframes looking for engulfing patterns and pinbars. The code runs on a timer, every 10 seconds. The code works fine most of the time, but I've noticed that when I use "iTime" in the following code, it returns dates from the day