StockFetcher Forums · General Discussion · Comparing high to a high X days ago<< >>Post Follow-up
Rammer89
1 posts
msg #85257
Ignore Rammer89
12/30/2009 4:36:01 PM

I'm attempting to compare a current value for a MACD slow line to a previous MACD slow line. Basically the code I'm looking for is something along the lines of:

MACD(12,26,9) 60 day low is above the MACD(12,26,9) 60 day low 60 days ago...


The thing I can't figure it is how to compare the 60 day low to the 60 day low "60 days ago"... Anyone know a way I can do this??

thanks a lot!!!

trendscanner
265 posts
msg #85272
Ignore trendscanner
12/30/2009 10:21:18 PM

Rammer, I've tried to write similar type filters, trying to compare current high or low readings for indicators to past indicator results and have never been successful. It seems to work only for price.

four
3,998 posts
msg #85463
Ignore four
1/3/2010 3:18:11 PM

set{macd_y, macd slowline 60 days ago}
set{macd_yy, new macd_y 60 day low}

macd slowline 60 day low > macd_yy

close > 1
average volume(30) > 10,000
close > open

do not draw macd(12,26,9)

- ? ? ? ? ? -

chetron
2,817 posts
msg #85464
Ignore chetron
1/3/2010 3:29:44 PM

rammer89, what you wrote works fine.


clickable.....


Fetcher[
set{macd_y, macd slowline 60 days ago}
set{macd_yy, new macd_y 60 day low}

macd slowline 60 day low > macd_yy

close > 1
average volume(30) > 10,000
close > open

do not draw macd(12,26,9)
]



chetron
2,817 posts
msg #85465
Ignore chetron
modified
1/3/2010 3:40:36 PM

just add water....

trendscanner, it should work for all....

Fetcher[

MACD(12,26,9) slow line 60 day low is above the MACD(12,26,9) slow line 60 day low 60 days ago



]



trendscanner
265 posts
msg #85468
Ignore trendscanner
1/3/2010 4:15:33 PM

Hey, that's great. I'll see if I can resurrect the old filter I was playing with.

StockFetcher Forums · General Discussion · Comparing high to a high X days ago<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus