A couple of years ago I dedicated a huge amount of time to WL4, and got pretty fluent in coding. However, I just d/l'd WL5 and I can't make heads or tails out of it.
I can't figure out how to tell it to do something simple like "Take profit when it exceeds 1% per day, or close position after 10 days."
What am I missing?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        To answer the question in the title (time-based exit):
CODE:
Please log in to see this code.
QUOTE:
I can't figure out how to tell it to do something simple like "Take profit when it exceeds 1% per day, or close position after 10 days."
CODE:
Please log in to see this code.
     
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Also keep in mind that the Wizard can help you get a handle on simple ideas like this one.  See the "Position-Based" condition for "Current open Position is older than a number of bars". 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        OF COURSE!  Have to reset my monitor so the entire rule description shows... I was only seeing the first word or two. 
PLUS, I have to readjust to thinking of Bars instead of Days. (When bars ARE Days that is...)
Thanks guys for your prompt response.
    
    
        
    
    
        
    
    
        Size:  
    
        Color: