kindly help

 
please i want my ea to be place order on the second candle of the day .i.e after closing of the first candle of the day. Am on GMT+1. Am having problem on knowing GMT+1. I do not know how to write it.please help me
 
olufemi:
please i want my ea to be place order on the second candle of the day
extern int      Srvr.To.UTC.Hours           =   -1;

static time0; if (time0 == Time[0]) return; time0 = Time[0]; // Wait for new bar
datetime now2 = Time[2] + 3600 * Srvr.To.UTC.Hours,
         now0 = Time[0] + 3600 * Srvr.To.UTC.Hours,
         day2 = now2 % 86400,
         day0 = now0 & 86400;
if (day2 != day0) { // new day+1 candle...
Reason: