Hi,
is there any way to include the Magic Number in the trade history report (XSLX or HTML)?
It seems to be impossible to evaluate the results by EA if the Magic Number insn't included.
Thanks for your help!
Only if you yourself log the ticket number and the magic number in a separate file (csv) and then you have write a new history joining the MQ history and your log file (as far as I know).
On MT4 that used to be exported as a tooltip that would appeared when you hovered over a trade (HTML export).
On MT5 however, not even that is now available, unfortunately. If you have access to the source code, then you can code your own function to export all the trade data with all the relevant information.

- www.mql5.com
Thanks amando! I executed your script on my MT5 terminal but no csv file was created.
Can you please explain how and where I neet to execute the file?
Thanks a lot!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
is there any way to include the Magic Number in the trade history report (XSLX or HTML)?
It seems to be impossible to evaluate the results by EA if the Magic Number insn't included.
Thanks for your help!