khan0905 1 posts msg #34227 - Ignore khan0905 | 
12/5/2004 12:47:59 AM
  I came up with the following filter but it's not working... 
 
 set{x,1 year high - close}
 set{y,x/ 1 year high}
 set{z,y*100}
 show stocks where z is less than 15
 
 Can anybody help?
 
 
  | 
dangreene 229 posts msg #34233 - Ignore dangreene | 
12/5/2004 8:47:21 AM
  khan0905,
 
 This will get you started.  
 
   	    
 
 
  | 
yepher 359 posts msg #34234 - Ignore yepher | 
12/5/2004 11:19:20 AM
  khan,
 
 If you want to do the same thing without using the "set" syntax you could write the filter this way:
 
  	    
 
 The problem I have with this particular technique is 15% seems to have a different meaning based on the magnitude of the price.
 
 A solution to the problem might look something like the filter below. It tries to find stocks where the price is within 15% of the top (85%) of the 52 week high/low range.  It is calculated similar to Bollinger %B but using the yearly high/low close values as the input. 
 
  	    
 
 Hope this helps...
 
 
  |