Hi,
I'd like to know if OnTimer event handling can be used in include files (.mqh), because i documentation only stated for indicators and EA?
Sure.
Luandre Ezra: I'd like to know if OnTimer event handling can be used in include files (.mqh), because i documentation only stated for indicators and EA?
".mqh" files are included at compile time, not at runtime. They are a compilation aid that can be used for any MQL code or any type of MQL program.
However if you include OnTimer event handler in the final code of a non compliant program (e.g. Script or Service), it will fail in the compilation.

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