I am trying to test a idea based upon gaps but I don't know how to check for it.  
Thanks in advance.
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        WLP has 2 stategy based on gaps in the Gaps folder. Have you looked at those?
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Thanks - will browse through those strategies. 
    
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        The gap filler strategy is starting point for me. 
Questions:
What do the 2nd,3rd and 4th args represent in:
CODE:
Please log in to see this code.
Also, I am at a loss on this:
CODE:
Please log in to see this code.
     
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        QUOTE:
What do the 2nd,3rd and 4th args represent in:
pctGap = CreateParameter("Gap Percent", 2, 1, 15, 1);
See 
WealthScript Programming Guide, Programming Trading Strategies > Strategy Parameters. Or simply start typing the first letters of CreateParameter in the 
QuickRef's Find box.
QUOTE:
Also, I am at a loss on this:
DataSeries trigger = Bars.Close * (1 - pctGap.Value / 100) >> 1;
It represents a series based on closing price multiplied by a percentage value offset by one bar (the >> 1 part).
    
 
    
        
    
    
        
    
    
        Size:  
    
        Color: