tester EA log

 

Hi,

In a simple EA code, I am trying to print number of ticks. I expect it to print from 1 in step of 1 in the following code:

int tick;

int OnInit()
{
   tick = 0;
   return(INIT_SUCCEEDED);
}

void OnTick()
{
   Print("Tick = ", tick++);
}

But it prints from some arbitrary number, like 21000 and different in each run, and also they are not in step of 1 rather there is a big difference in two consecutive number. 

Any ideas what the reason for this?

Thanks.

 
I don't have any experience like that..i wish someone can help to fix this...
Reason: