Edit Your Comment
asking about EA refresh time
Nov 20, 2020 at 10:06
会员从Sep 26, 2013开始
10帖子
Hello
I am developing an expert prototype.
i have an idea but i need help.
I need to know if we can incorporate a command line so that the expert checks the data every second and no longer relies on the tik candles on the different timeframes.
that is possible ?
I am a professional trader but I am new to MQL programming
thank you
USD
Nov 24, 2020 at 05:16
会员从Aug 06, 2020开始
3帖子
//mql4
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
void OnInit()
{
while(EventSetTimer(1) != true) //set your time interval here
{
Sleep(500);
}
Print("Init OK");
}
//+------------------------------------------------------------------+
//| Timer function |
//+------------------------------------------------------------------+
void OnTimer()
{
//type your code here
}
Step by Step

*商业用途和垃圾邮件将不被容忍,并可能导致账户终止。
提示:发布图片/YouTube网址会自动嵌入到您的帖子中!
提示:键入@符号,自动完成参与此讨论的用户名。