Logger for Strategy Tester (backtesting)

To add comments, please log in or register
florinm77
1788
florinm77  

Hi,

 

While running the Strategy Tester, I need to have the following info saved in a CSV file, for each order: deal no, order no, symbol, type (sell / buy), direction (in / out), price, profit (for closing order), entry condition met (RSI level on last bar).

Most of them are available in the “Trade” tab of the Strategy Tester but it seems that they cannot be exported / or copied to clipboard.


Can anyone please tell me whether it is possible to have an EA that records history of deals performed on the Strategy Tester ?

I know that this is possible in mql4 (https://www.mql5.com/en/forum/128502) . And I found it very strange to not be possible in mql5.

Or, at least, if the “Comment” field can be completed programatically with certain information (e.g. criteria met when issuing the order) ?


Thank you very much.

FileWrite in backtesting strategy mode problem
FileWrite in backtesting strategy mode problem
  • 2010.09.08
  • www.mql5.com
Hi, logging output to a file using simple FileWrite. I works well in real mode...
fxsaber
12991
fxsaber  
https://www.mql5.com/ru/code/18801
Report
Report
  • votes: 19
  • 2017.07.19
  • fxsaber
  • www.mql5.com
Данная библиотека является несколько переработанной версией замечательного скрипта 2006 года с учетом современных реалий MQL. Некоторые возможности убраны, некоторые - добавлены. В обеих платформах (MetaTrader 4/5) для сохранения отчета (в виде MetaTrader 4) можно запустить такой скрипт: и увидеть в соответствующем файле сформированный...
florinm77
1788
florinm77  
fxsaber:
https://www.mql5.com/ru/code/18801

Thank you for your answer, fxsaber.

To add comments, please log in or register