Exporting trades history to csv with script - empty results

 

Hello,

I have more than a script to export my trades history to csv. After I finish running my EA on the Strategy Tester, I drag and drop one of these scripts into the output chart but I only get empty results. There´s something really basic that I am not getting. Can you help me?

The Fundamentals of Testing in MetaTrader 5
The Fundamentals of Testing in MetaTrader 5
  • www.mql5.com
What are the differences between the three modes of testing in MetaTrader 5, and what should be particularly looked for? How does the testing of an EA, trading simultaneously on multiple instruments, take place? When and how are the indicator values calculated during testing, and how are the events handled? How to synchronize the bars from different instruments during testing in an "open prices only" mode? This article aims to provide answers to these and many other questions.
Files: