lvainik 52 posts msg #46754 - Ignore lvainik | 
9/5/2006 3:57:22 PM
  How do I show a 3 day ema crossing above a 10 day ema
 for the (first) time in 30 days 
 
 I am looking for trend changes and not whipsaws...
 
 Thanks!
 
 
  | 
maxreturn 745 posts msg #46755 - Ignore maxreturn | 
9/5/2006 5:33:24 PM
  Ivainik, I'm assuming prior to the upward cross you want the ema3 to be below the ema10 for the last 30 days.  If so, here's a solution:
 
  	    
 
 Regards
 Max
 
 
  | 
nikoschopen 2,824 posts msg #46756 - Ignore nikoschopen | 
9/5/2006 6:07:47 PM
  Max,
 
 I'm not sure "MV 1 day ago" in the second line is valid. Can it really be the same as "set{mv, count(ema(3) 1 day ago below ema(10) 1 day ago,30)}"? 
 
 
  | 
maxreturn 745 posts msg #46757 - Ignore maxreturn | 
9/5/2006 6:12:42 PM
  Niko, you'll get the same result with either solution.  Try lowering the volume and using the date offset feature and you'll see what I mean.
 
 
  | 
nikoschopen 2,824 posts msg #46759 - Ignore nikoschopen | 
9/5/2006 8:03:53 PM
  While it might be syntactically correct, I don't think it's semantically correct. Ure right nonetheless.
 
 
  | 
maxreturn 745 posts msg #46761 - Ignore maxreturn | 
9/5/2006 9:44:28 PM
  Niko, dere ya go agin usin dem millon doller words!
 
 
  |