Thank you.

In v2.37.3, this code:
Code
int tmf() {
	  watch("#time=",tod(0));
	return 0;
}

function run() {
	NumYears=1;
	
	set(LOGFILE);
	set(TICKS);
		
	LifeTime=5;
	
	Entry=-2*PIP;
	
	//OrderDelay=59.9;
	
	if (NumOpenLong==0)
	 if (priceClose(0)>priceClose(20) ) 
		enterLong(tmf); 	 
}
produces this output:
Code
[151: Tue 21-01-12 10:00] -6.15 0 0/2 (1.21624)
(EUR/USD::L) Long 1@1.21604 Entry limit
time= 1001 
time= 1002 
time= 1003 
time= 1004 
time= 1005 
time= 1006 
time= 1007 
(EUR/USD::L) Entry limit 1.21604 hit by 1.21599 at 10:08:00
time= 1008 
[EUR/USD::L15202] Long 1@1.21615 x at 10:08:00
time= 1008