| dwiggains 448 posts
 msg #99473
 - Ignore dwiggains
 modified
 | 3/4/2011 9:34:48 AM 
 I know this is easy but I cannot get it to work.
 
 This is what I want
 
 Count the days Close has been greater than ma (20).
 Close > ma (20) for how many days.
 
 Thanks
 See ya
 David
 
 
 | 
| wantonellis 164 posts
 msg #99475
 - Ignore wantonellis
 modified
 | 3/4/2011 9:49:43 AM 
 
 
 
 | 
| TheRumpledOne 6,529 posts
 msg #99483
 - Ignore TheRumpledOne
 modified
 | 3/4/2011 11:56:21 PM 
 
 
 
 If you want to know how many days in a row the close has been above/below the ma(20) since the last crossover, this will do it.
 
 Make sure you look at my BASIC FILTER FOR NEWBIES AND OLD PROS to see how to code most things you'll need in SF.
 
 
 
 
 | 
| dwiggains 448 posts
 msg #99489
 - Ignore dwiggains
 | 3/5/2011 9:41:24 AM 
 Thank you  ---  Thank you
 
 
 See ya
 David
 
 
 |