redbaron1981 1 posts msg #134010 - Ignore redbaron1981 modified | 
2/2/2017 8:21:50 AM
  Something like this will get you started.
 
 [
 set{low52, low 52 week low} 
 set{high52, high 52 week high} 
 set{spread52, high52 - low52} 
 set{close52, close - low52} 
 set{location52, close52 / spread52} 
 set{position, location52 * 100} 
 
  
 show stocks where pattern is cup and handle 
 and ma(50) above ma(200)
 and 40 day slope of ma(200) > 0
 and position > 90
 ]
 
 Not sure how to code the part "base has a pull back of 20% off of the highs and is a minimum of 8 weeks in length".
 
  |