Has anybody written code to identify an "outside bar" - bar with a greater range than the previous bar i.e higher-high and lower-low; trawled through the literature without finding an example 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        CODE:
Please log in to see this code.
     
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Thanks Eugene
That simple. I was working with the : doublelasthigh and doublelastlow commands instead
    
    
        
    
    
        
    
    
        Size:  
    
        Color: