Hi,
How to create a function like OnTimer in a library file without freezing the processor (CPU)?
I will not use OnTimer() for each indicator to call my function "MyTimer()" because it work in the background in standalone mode.
In MyTimer() function, I would like to execute cyclically and very quickly various calls to several functions available in my C# DLL via
Export function.
How can I do it?
Thank you in adavance for your help.
- Generating included code - Developing programs
- MQL4/MQL5 Wizard
- Compilation - Developing programs
Fabiano:
Hi,
How to create a function
like OnTimer in a library file without freezing the processor (CPU)?
I will not use OnTimer() for each indicator to call my function "MyTimer()" because it work in the background in standalone mode.
In MyTimer() function, I would like to execute cyclically and very quickly various calls to several functions available in my C# DLL
via Export function.
How can I do it?
Thank you in adavance for your help.
Do you need the timer to go off more often than every millisecond? if not use:
EventSetMillisecondTimer(x);
where x is in milliseconds.
el_looto:
Maybe I'm wrong, in the library file (#property library), you can't use OnTimer. So EventSetMillisecondTimer doesn't help me!
Do you need the timer to go off more often than every millisecond? if not use:
where x is in milliseconds.
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