Download MetaTrader 5
To add comments, please log in or register
Do you have questions to the application's developer - ask them in Comments section
LesioS
76
LesioS 2014.08.28 12:37 
I've update MT4 2 days ago. Everything looks good in new directories. But I've problem with Print: they not appear in log file. Log is accessible because all info for orders (opening, modifying) are stored in log. But nothing from my EA appears in it. Any tips why?
Keith Watford
Moderator
8026
Keith Watford 2014.08.28 13:05  
LesioS:
I've update MT4 2 days ago. Everything looks good in new directories. But I've problem with Print: they not appear in log file. Log is accessible because all info for orders (opening, modifying) are stored in log. But nothing from my EA appears in it. Any tips why?


You are probably looking at the wrong log

Click on the "Experts" tab and then right click inside the tab and then "open" 

Carl Schreiber
5966
Carl Schreiber 2014.08.28 18:51  
LesioS:
I've update MT4 2 days ago. Everything looks good in new directories. But I've problem with Print: they not appear in log file. Log is accessible because all info for orders (opening, modifying) are stored in log. But nothing from my EA appears in it. Any tips why?

It could be that that what you have printed is kept in the RAM. Normal files you can flush (FileFlush()) so save everything immediately.

But Print(..) can't do this. But you are lucky you have three different options:

1) kill the terminal and restart it,

2) flood the log by huge amount of  Print(..),

3) wait until the next day - the logs are closed and a new one for the new day is opened.

/
To add comments, please log in or register