How to debug in MQL4

Back to topics list To post a new topic, please log in or register
avatar
21
BernWillChris 2015.08.20 00:11
 

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 

avatar
12985
WHRoeder 2015.08.20 01:37 #
 
  1. The strategy tester in visual mode is the simulator
  2. Print function works just fine in the tester.
avatar
21
BernWillChris 2015.08.20 08:11 #
 
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 

avatar
Moderator
3404
GumRai 2015.08.20 09:13 #
 
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.
avatar
21
BernWillChris 2015.08.20 17:27 #
 

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. 

Back to topics list  

To add comments, please log in or register