8votes
1answer
1.2Kviews
What is the difference between OnTick and OnTimer in an MQL5 EA?
Both functions seem to run my code repeatedly. When should I use which?
2 questions
Questions and discussions about MQL5 Programming.
Both functions seem to run my code repeatedly. When should I use which?
I want my EA to skip trades when the spread is too high. How can I read the spread in code?