
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
Hi,
I think I found a bug in MQL5.
My EA starts with the code shown below. During testing with the debugger I had set 4 breakpoints (indicated with '>' in de code below.
As it turned out, at one of my test-sessions the first breakpoint that the program stopped at was in the OnTick() function. I would expect that an EA would always execute OnInit() before OnTick() or OnTimer(). Did I find a bug or is there a reason for the observed behaviour?