How to debug in MQL4

 

Hi,

 I'm looking for some strategies on how to debug. I can't run an EA on a simulator because MT4 doesn't have one. Print function doesn't work in the strategy backtester and finally the Comment function only show one statement at a time.

Any tips?

 

Thanks 

 
  1. The strategy tester in visual mode is the simulator
  2. Print function works just fine in the tester.
 
WHRoeder:
  1. The strategy tester in visual mode is the simulator
  2. Print function works just fine in the tester.

I couldn't get the print function to work and the notes for the print function say that it doesn't work in the backtester.

Thanks 

 
BernWillChris:

I couldn't get the print function to work and the notes for the print function say that it doesn't work in the backtester.

Thanks 

It says that it doesn't work in optimization.
 

Okay!

 It seems that I was looking at the wrong tab. The information shows up in the journal section. I also misread the documentation reading it too fast.

 Thanks. 

Reason: