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?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        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: 
SaveTradesOr you can bring back the Commentary Window with 
this hack.
    
 
    
        
    
    
        
    
    
        Size:  
    
        Color: