"cannot set timer(1)" problem in calling iCustom() function in EA

To add comments, please log in or register
Mohammad Hasan Mosaddeqi
398
Mohammad Hasan Mosaddeqi  

Hello Guys,

I have a problem for calling indicator values in my EA,

this message show on expert tab on MT4 when I attach it on chart: "cannot set timer(1)"

I search a lot in forum,some users say that Should use some codes in OnInit() and Deinit() sector of EA like this topic: "https://www.mql5.com/ru/forum/167394#comment_12192383"

but they didn't work at all,

please help me to solve problem,

Thanks for your feedback in advance.

Ошибка "cannot set millisecond timer(100)"
Ошибка "cannot set millisecond timer(100)"
  • 2017.01.19
  • www.mql5.com
Здравствуйте! У клиента при работе с моим советником возникла ошибка "cannot set millisecond timer(100...
sararise
116
sararise  
what is your code line? show me
Seng Joo Thio
1209
Seng Joo Thio  
Mohammad Hasan Mosaddeqi:

I have a problem for calling indicator values in my EA,

this message show on expert tab on MT4 when I attach it on chart: "cannot set timer(1)"

I search a lot in forum,some users say that Should use some codes in OnInit() and Deinit() sector of EA like this topic: "https://www.mql5.com/ru/forum/167394#comment_12192383"

but they didn't work at all

This is expected behavior whenever an EA calls an indicator that uses EventSetTimer()/EventSetMillisecondTimer(), via iCustom().

Mohammad Hasan Mosaddeqi
398
Mohammad Hasan Mosaddeqi  
Seng Joo Thio:

This is expected behavior whenever an EA calls an indicator that uses EventSetTimer()/EventSetMillisecondTimer(), via iCustom().

How can I solve it Sir?

I haven't source code of indicator.

Seng Joo Thio
1209
Seng Joo Thio  
Mohammad Hasan Mosaddeqi:

How can I solve it Sir?

I haven't source code of indicator.

You can always check whether your indicator still returns valid values - if it does, just ignore the "cannot set timer" message. Otherwise, you'll have to look for the source codes somewhere, somehow... or use other indicators :)

To add comments, please log in or register