Best way to export indicator value to a file

 

Hi all,

i know how to export trade data from the tester to a csv file (using deinit function), i am wondering wich is the best way to export the indicator values to a csv file as well during a backtest with strategy tester. For example to see the efficiency of my ATR based stop loss, writing the ATR distance on each trade into a csv file.

(sorry about my english)

Regards. 

 
coiler: i am wondering wich is the best way to export the indicator values to a csv file as well during a backtest with strategy tester
i like the FileOpenHistory().
Reason: