卤煮2001 发表于 2015-8-6 17:01:55

mt4编程的计数器的问题。

本帖最后由 卤煮2001 于 2015-8-6 20:10 编辑

int cnt=0;

int OnInit()
{

   return(INIT_SUCCEEDED);
}

void OnDeinit(const int reason)
{

}

void OnTick()
{

cnt+=1;

Print("cnt==",cnt) ;

}



问题已经解决,谢谢各位。。。。





页: [1]
查看完整版本: mt4编程的计数器的问题。