Read content of Expert -Tab Log entries
-
Hi.
I have running an EA which outputs some information in the Experts-Tab Log on the MT4 screen.
I want to write an indicator which can read those entries and write them to a csv file.
I can't find a fxDreema command for reading those outputs.Can somebody point me into the right direction?
Thanks in advance!
hila -
write to file block can help with that.
not sure if you can access the log with EA's.
what data do you want to save into the file? -
Thanks Spuzy for the reply.
There is a EA running which writes some info data which you can see in the 'Experts' Tab in MT4. The problem is that MT4 won't flush the Log data directly from memory to disk. Then it won't be a problem for my external program to get the log data.
I know the 'Write to file' block but it can't get the data from that tab. So I'am stuck at the moment.
-

-
AppData\Roaming\MetaQuotes\Terminal*number of your terminal*\MQL4\Logs
-
@spuzy

I know where the log files are but MT4 doesn't write the log files to disk when they change in MT4.
MT4 does create the log file when you open the log folder within MT4 for example. You can open the log folder with teh windows explorer and you won't see a log file from the current day.
When you now right click into the history log in MT4 and select 'Open', MT$ will immediately create the log file.
There also seems to be no way to force MT4 to write the log to disk when you need it.
Thats the problem... -
that's a bummer
I do not think you can access the journal/expert tabs from with experts unfortunately