morteza471 132 posts msg #48163 - Ignore morteza471 | 
11/26/2006 2:35:10 PM
  need help writing a filter for stock that closed above the Center Linear Regression Line(45,1.0)1 day ago and is there first day above the Center Linear Regression Line(45,1.0)
 thank you
 
 
  | 
TheRumpledOne 6,529 posts msg #48165 - Ignore TheRumpledOne modified | 
11/26/2006 4:14:42 PM
 
  	    
 
 ClrxClr will tell you how many days the close has been above/below the Center Linear Regression Line since the last crossover.
 
 I believe you want stocks when ClrxClr = 1 or = 2.  Not 100% sure.
 
 HTH.
 
 
 
  
 
 
 
 
 
 
 
 
 
  | 
morteza471 132 posts msg #48179 - Ignore morteza471 | 
11/27/2006 10:18:20 AM
  thank you. good filter i changed the volume from 1000000 to 100000 and got lot more hits. thanks
 
 
  | 
TheRumpledOne 6,529 posts msg #48299 - Ignore TheRumpledOne modified | 
12/1/2006 8:06:03 PM
  You're welcome.
 
 I just post high close/volume numbers so I don't get a bunch of hits when I am testing these.
 
 
 
 
 
  |