export strategy tester trades to csv?

 

Hi all,

I am working on a little function within an EA which writes a trade log file and calculates some additional key figures per trade like winning potential, loss potential, achieved Risk/Reward etc. 

It works fine for real trades but I was asking myself how to write trades from the tester to the trade log file?

When I tried the EA in the tester the trade log file was created but there where no trades written to the file...

A brief notice if that is possible at all and a little hint how to access such trades would be extremely helpful!

Thank you, all

 
The tester usually does not write a file to the same folder as an EA on a live chart, check the tester folder.
 
GumRai:
The tester usually does not write a file to the same folder as an EA on a live chart, check the tester folder.
Hi GumRai, Yes I know. Thank you. As mentioned it creates a log file and I can find it but it contains only the column names andno trade data. Is there a certain OrderType or any other OrderHistory to access these tester trades?
Reason: