Plese help me

 

//+------------------------------------------------------------------+
//| test.mq4 |
//| Copyright 2014, MetaQuotes Software Corp. |
//| / |
//+------------------------------------------------------------------+
#property copyright "Copyright 2014, MetaQuotes Software Corp."
#property link "/"
#property version "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//--- create timer
if(!EventSetTimer(1))
printf(GetLastError() );

//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//--- destroy timer
EventKillTimer();

}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+

//| Timer function |
//+------------------------------------------------------------------+
void OnTimer()
{
//---
printf("succeed");
}

2014.05.12 14:23:13.633 2013.03.14 20:00 test XAUUSD.,H4: 4051
why error?

 

no one?

help me

 
plese
 

相当正常啊, 每秒打印出下面输出, 个人环境 MT4 build 646:

2014.05.18 10:31:33.046 test US30,H1: succeed

原因: