gates007 6 posts msg #43035 - Ignore gates007 | 
4/18/2006 6:45:43 AM
  I am looking for MACD POSITIVE DIVERGENCE filter.
 
 DESCRIPTION: "PRICE TOUCHES NEW LOW BUT MACD FAILS TO TOUCH NEW LOW"
 
 Is there any such filter already developed?
 Kindly help. thnx!!
 
 gates007
 
 
  | 
TheRumpledOne 6,529 posts msg #43039 - Ignore TheRumpledOne | 
4/18/2006 12:17:18 PM
  I posted an rsi divergence filter... you can modify that to use MACD.
 
 
  | 
maxreturn 745 posts msg #43038 - Ignore maxreturn modified | 
4/18/2006 12:32:50 PM
  Haven't looked at TRO's solution but here's one way to go about it.  Using the "indposition" indicator you can look at the last X number of days and compare macd to price.  My example looks at the last 65 days (approx 3 mos trading days only).  If the indposition of close equals 0 that means close has reached a new 65 day low.  If macd is above 0 at the same time, that means macd has diverged with the close.  NOTE:  For some reason I was not able to get consistent results using the "low" price.  Have an e-mail into support to find out why.  HTH:
 
  	    
 
 
 
  |