Hi. I am new to MQL4. I wish to debug/test using Print statement. But for the life of me, I cannot discover where the print statement is actually printed? I went to terminal and then to Experts tab and the log doesn't show any Print statements(I printed Hello world). Where can I find the output of Print statement?
- Debugging Code with GDB, anyone tried?
- How to export and print a statement on MT4?
- How to debug in MQL4
Ah Ok. I got it. It prints on the candlestick screen. Is there any other place/terminal I can execute Print statements? Thanks.
did you use Comment() statement or Print()?
Print() shouldnt print on chart window, but in the Expert or Journal Section...
Obviously, Comment()
Oops..Yes,you are right. At first I used Print() but didn't see where it is printing all the stuff. Then I used Comment(). I was not able to figure out where the output of Print() was going. It is one of those pesky small things which is embarrassing. And yes NOW I can see it in Expert section as I type these lines...don't know why it wasn't happening before. Is it because it executes with each tick and if the market is closed it won't execute?
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