I am new to Wealth Lab.  I am just learning to use C#.  Could anyone provide me with
the code to back test a head and shoulder bottom.  Thank you. 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Here's a very quickly reversed H&S Top system that comes out-of-the-box.
CODE:
Please log in to see this code.
One suggestion as I review the generated trades. A check should be added -- it could be as simple as "Price < SMA(100)" -- to actually verify we're in the middle of a downtrend or at the bottom when a H&S-B pattern is detected.
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Hi, 
Does this code work for intraday (5 or 15 min) data?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Yes but it's much easier to for a 15% move to be noticed on higher time frames. Adjust parameters accordingly.
    
    
        
    
    
        
    
    
        Size:  
    
        Color: