Write debug info to a file
Author: angel57
Creation Date: 9/9/2008 12:34 AM
profile picture

angel57

#1
I would like to write data from within the "for" loop to an external file to assist in debugging a script. Can you point me to an example or post a code snippet illustrating how it would be done? Or perhaps a better question, are all C# code functions available for use within the Wealth-lab scripts?
profile picture

Eugene

#2
QUOTE:
Or perhaps a better question, are all C# code functions available for use within the Wealth-lab scripts?

C# code functions are available in Strategy code, including the ones like StreamWriter from the System.IO namespace (used for file output).

An example: SaveTrades

Or you can bring back the Commentary Window with this hack.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).