__fetcheruser123 msg #44806 - Ignore __fetcheruser123 | 
6/9/2006 5:25:33 PM
  Is there a way to check if an index is moving a certain way and incorporate it into a filter?
 
 Something like:
 
 Show stocks where MACD fast line(12,26) crossed above MACD slow line(12,26) within the last 1 day
 and slope of ^DIA has been increasing for the last 2 days
 
 
  | 
nikoschopen 2,824 posts msg #44809 - Ignore nikoschopen | 
6/9/2006 7:05:05 PM
  I would think that only way for the slope to turn up is for the stock or index to close higher. So I changed it from "slope of ^DIA has been increasing for the last 2 days" to read something like "the close of ^DIA has been increasing for the last 2 days".
 
  	    
 
 
  | 
rtucker 318 posts msg #44832 - Ignore rtucker | 
6/10/2006 1:57:11 PM
  Chris,
 
 This is an example ( the testing portion written by TRO) to "disable" buying rsi(2) < 1 if nasdaq is below ma(5)
   
  	    
 
 
  | 
__fetcheruser123 msg #44846 - Ignore __fetcheruser123 | 
6/10/2006 6:16:40 PM
  Thanks guys, that's exactly what I was looking for.
 
 
  |