Print/Alert messages are always saved in the log file, there is no maximum.
In the Experts tab, right click -> open. That will flush cached messages to the file, and open Explorer to that directory. Open the file.
Laurentiu Sorin Tene:
If is not possible how can I save in a file those messages ?
You could always go old-school and save the messages in a log file of your own creation.
See the example code at the bottom of this documentation page:
https://www.mql5.com/en/docs/files/fileopen
![Documentation on MQL5: File Functions / FileOpen Documentation on MQL5: File Functions / FileOpen](/i/community/logo_mql5_small.png)
Documentation on MQL5: File Functions / FileOpen
- www.mql5.com
[in] The name of the file can contain subfolders. If the file is opened for writing, these subfolders will be created if there are no such ones. [in] value to be used as a separator in txt or csv-file. If the csv-file delimiter is not specified, it defaults to a tab. If the txt-file delimiter is not specified, then no separator is used. If...
Thank you both (@Anthony Garot and @whroeder1).
I got it !
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
Newbie question:
I have an expert that output some messages (with Print()). I let it run more time and I observed that the outputs in Message Terminal are not saved in log file. I also observed that this output is, I think, fixed number of lines or storage space as older messages disappear from this window.
So; how can I increase this output ?.
If is not possible how can I save in a file those messages ?
Thanks in advance for replies!