Download MetaTrader 5

How to debug in MQL4

To add comments, please log in or register
Chris
78
Chris  

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 

whroeder1
14780
whroeder1  
  1. The strategy tester in visual mode is the simulator
  2. Print function works just fine in the tester.
Chris
78
Chris  
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 

Keith Watford
Moderator
9641
Keith Watford  
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.
Chris
78
Chris  

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. 

To add comments, please log in or register