Vince
It (the Comment()) is not disabled in visual mode.
Maybe you are having it within some if {} block and that prevents Comment() from displaying the information. Try changing the place (I usually change where comment is nested from beginning towards the end of code when trying to pinpoint the error). Here is a simple EA that when you run it on visual back test will show you comments as usual
int start()
{
Comment(TimeToStr(TimeLocal(),TIME_DATE|TIME_SECONDS));
return(0);
}
Hi All,
how do you debug expert on strategy tester?. Comment() and Alter() are disabled? When i am testing an EA in visual mode, no Comment() and Alert() is apearring.
Best,
Vince.Sorry it was my fault, it works now. Thanks for the quick answer mladen.
Glad that you solved it
I hate when there are errors in code and I know the feeling when you are trying to "kill the bugs". Happy further coding
Sorry it was my fault, it works now. Thanks for the quick answer mladen.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi All,
how do you debug expert on strategy tester?. Comment() and Alter() are disabled? When i am testing an EA in visual mode, no Comment() and Alert() is apearring.
Best,
Vince.