Hi everyone, this is a simple system, I want to open long at 05.00 and close at 11.00 on Tuesday. Today the position is open at 05.00 and closed at 05.03. Does anyone know why? Thank you.

#include <profile.c>
function run()
{
set(PARAMETERS+LOGFILE);
StartDate= 20160601;
EndDate = 20170530;
BarPeriod =60 ;


Lots=20;

StopFactor= 1.0;
Stop= 42*PIP;



if ( dow()==2 && tod()==0500 && NumOpenLong==0 )
{

enterLong();
}


if (tod()==1100)
{
exitTrade();
}



//PlotBars = 100;
//PlotDate=20170510;
set(PLOTNOW);
//plotMAEGraph(-5);
plot("ATR", ATR(50), NEW, RED);

//plotWeek (priceClose(), 50);

}