Alert not getting after Implementation of code, Friends any one can guide me to get a solution.
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
- Did you debug the code?
- Did you place "Print()" at various levels to see if its logic is executing the way you want?
- Did you check the log for any warnings or error messages?
- Why do you set an event timer when you don't have a timer event handler?
- Don't call trading or symbol data functions from the OnInit() handler. Wait for the first tick to make sure the connection has been established and that data is available.
- Have your code make sure the symbols for which you need data, are enabled and their data synchronised before requesting their data.
Code compiled, with out error. but alert not generating. Is there is any method to verify and correct the problem