scott111552 173 posts msg #132023 - Ignore scott111552 | 
10/19/2016 10:37:39 PM
  I'd like to identify stocks that closed above EMA(250), but were below EMA(250) for the past X number of 
 days. I've exhausted myself trying to figure this one out....Any help would be greatly appreciated.
 Thanks to everyone in advance.......
 
  | 
four 5,087 posts msg #132024 - Ignore four modified | 
10/20/2016 12:37:50 AM
  Substitute your moving average and number of days.
 I used ema(100) and 5 days below the ema before the cross above on the 6th day.
 
 --
 
 close crossed above ema(100)
 count(close 1 day ago below ema(100) 1 day ago,5) equals 5
 
  | 
garlasco 6 posts msg #132036 - Ignore garlasco | 
10/20/2016 10:04:05 PM
  Close crossed above ema(250)
 Close one day ago is below ema(250) for the last 50 days
 
  | 
scott111552 173 posts msg #132050 - Ignore scott111552 | 
10/21/2016 1:51:03 PM
  thanks so much! Cheers!
 
  |