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
Felipe, hello again. Where WaitEvent(EVENT) function has to be called? In to OnTick function?
You just need to call it once, so it is better to call it at OnInit() after all the wizard checks.
You just need to call it once, so it is better to call it at OnInit() after all the wizard checks.
Ok, thanks Felipe.
You just need to call it once, so it is better to call it at OnInit() after all the wizard checks.
Felipe, i want to share my code with you.
If you only call to the WaitEvent() function once in OnInit() or in class constructor they are only executed on the first trade. Debugged.
On the other hand, in order to use the events in the signal class, it is necessary to start the signal within the derived class MyExpert. I can't think of another way, but it works.
Solved. Thanks so much, Felipe.
Felipe, i want to share my code with you.
If you only call to the WaitEvent() function once in OnInit() or in class constructor they are only executed on the first trade. Debugged.
On the other hand, in order to use the events in the signal class, it is necessary to start the signal within the derived class MyExpert. I can't think of another way, but it works.
Solved. Thanks so much, Felipe.
Excellent. Thank you for clarifying my comment.