Originally Posted By: Zheka
1) From what I could read, historical data requests in MT4 return UTC time. This is also confirmed by downloading data into MT4 itself.
You were likely testing this on a UTC server.

Script:
Code:
#property strict
//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
//---
   Print("Current bar: ",iTime(NULL,0,0),", ",  iOpen(NULL,0,0),", ",
         iHigh(NULL,0,0),", ",  iLow(NULL,0,0),", ",
         iClose(NULL,0,0),", ", iVolume(NULL,0,0));
   
  }
//+------------------------------------------------------------------+



I tested this code on an Oanda -5 GMT server.


Attached Files capture.gif