Hi,
Please check this : https://www.mql5.com/en/forum/219097

"Cannot set timer" ???? in ontime function
- 2017.11.08
- www.mql5.com
Hello, I faced a strange error. I'm using ontime function based EAs and recently some EAs stopped with message "cannot set timer (xxx...
Hi, so where do I put this code?
I need to read information from custom indicator on every tick, and when specific indicator value changes, I would execute my action.
Is it problem because indicator is from market? When I tried to execute this identical code from example indicator ("CCI") if went without problem.
-
Why did you post your MT4 question in the
Root /
MT5 EA section
instead of the
MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon. - CCI has no timer. As I said in 219097, Set Timer fails in indicators loaded via iCustom. Ask the creator whether indicator can still be used.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Howdy folks.
I am newbie for MQL language so excuse for that kind of question.
I created expert advisor and tried using custom indicator in code.
Indicator was bought trough market.
when i executed this code it gives me error "cannot set timer(1)".
What am I doing wrong? When I tried using this code with "CCI" indicator from examples (not from market) everything went alright.
Any idea?