StockFetcher Forums · Filter Exchange · BEST BY FAR POS and neg divergence indicator<< 1 2 >>Post Follow-up
MARY4MONEY
806 posts
msg #78151
Ignore MARY4MONEY
8/28/2009 10:31:25 AM

weekly macd 2,3,1----could some one desigen a filter for when this becomes pos and neg------thanks

dwiggains
391 posts
msg #78155
Ignore dwiggains
8/28/2009 10:55:57 AM

Hi
Please remember using weekly data --- ONLY --- uses Fridays data.

Every time I use a weekly indicator I get into trouble.

See ya
David

chetron
2,817 posts
msg #78164
Ignore chetron
modified
8/28/2009 2:11:59 PM

maybe..........................................



Fetcher[

display weekly
8 week slope weekly close below 0
8 week slope weekly macd fast line(3,2,1) above 0

]



chetron
2,817 posts
msg #78165
Ignore chetron
8/28/2009 2:27:18 PM

or even....


Fetcher[
display weekly
3 week slope weekly close below 0
3 week slope weekly macd fast line(3,2,1) above 0
]



Kevin_in_GA
4,548 posts
msg #78193
Ignore Kevin_in_GA
8/28/2009 6:49:31 PM

Or this - sorted on largest divergence.

Fetcher[
set{price_slope,4 week slope weekly close}
set{MACD_slope,4 week slope of weekly MACD(3,2)}
set{diverge,MACD_slope - price_slope}

add column diverge
and sort on column 5 descending

display is weekly
4 week slope weekly close below 0
4 week slope weekly macd(3,2) above 0
and stock is optionable
]



Kevin

trendscanner
265 posts
msg #78199
Ignore trendscanner
8/28/2009 7:45:23 PM

Building on Kevin's filter, adding an additional line, and playing with the time frame a bit.

This one dredged up fewer hits than Kevin's but includes some real stinkers. Lots of ProShares short funds meeting these criteria. Many of these also show a weekly divergence even with conventional MACD parameters. Maybe a correction really is not far off.


Fetcher[
set{price_slope,6 week slope weekly close}
set{MACD_slope,6 week slope of weekly MACD(3,2)}
set{diverge,MACD_slope - price_slope}

add column diverge
and sort on column 5 descending

display is weekly
6 week slope weekly close below 0
6 week slope weekly macd(3,2) above 0
and stock is optionable
and MACD Fast Line(3,2) is below MACD Fast Line(3,2) one week ago
]





Kevin_in_GA
4,548 posts
msg #78202
Ignore Kevin_in_GA
8/28/2009 8:09:13 PM

Check that last line. Should be "weekly" MACD Fast line ...

also, wouldn't you want this week's fast line to be above last week's, if the slope is above 0?

Kevin_in_GA
4,548 posts
msg #78203
Ignore Kevin_in_GA
modified
8/28/2009 8:10:27 PM

Fetcher[
set{price_slope,3 week slope weekly close}
set{MACD_slope,3 week slope of weekly MACD(3,2)}
set{diverge,MACD_slope - price_slope}

add column diverge
and sort on column 5 descending

display is weekly
3 week slope weekly close below 0
3 week slope weekly macd(3,2) above 0
and stock is optionable
and weekly MACD Fast Line(3,2) is above weekly MACD Fast Line(3,2) one week ago
]





I went with a shorter timeframe because the sensitivty of the slope was poor when looking at recent moves.

It would be simpler if there were a ROC function for indicators.

trendscanner
265 posts
msg #78205
Ignore trendscanner
8/28/2009 8:38:34 PM

Kevin, you're right, it should have been the weekly MACD. Here it is revised. For whatever reason, it still captures most of the same suspects but got 54 hits instead of 37, so something a little different is going on.

My rationale for weekly fast line being below last week's fast line was to reduce the number of hits and to limit it to those where MACD was not yet increasing (i.e., not yet past the point of maximum rebound). The 6 week slope can still be positive with this condition since it started at a much more negative place 6 weeks ago than it is today. By the time the weekly MACD fast line is above last week's, price has already increased from its nadir.

Fetcher[
set{price_slope,6 week slope weekly close}
set{MACD_slope,6 week slope of weekly MACD(3,2)}
set{diverge,MACD_slope - price_slope}

add column diverge
and sort on column 5 descending

display is weekly
6 week slope weekly close below 0
6 week slope weekly macd(3,2) above 0
and stock is optionable
and weekly MACD Fast Line(3,2) is below weekly MACD Fast Line(3,2) one week ago
]



Here's the 4 week version for comparison

Fetcher[
set{price_slope,4 week slope weekly close}
set{MACD_slope,4 week slope of weekly MACD(3,2)}
set{diverge,MACD_slope - price_slope}

add column diverge
and sort on column 5 descending

display is weekly
4 week slope weekly close below 0
4 week slope weekly macd(3,2) above 0
and stock is optionable
and weekly MACD Fast Line(3,2) is below weekly MACD Fast Line(3,2) one week ago
]




This version has more hits and a very different group. Not sure what the cosmic implications of that are. Probably just reflects the character of the last 6 week's overall market movement.

Kevin_in_GA
4,548 posts
msg #78233
Ignore Kevin_in_GA
8/29/2009 4:25:35 PM

I keep thinking that we are looking at divergence wrong here - the way I usually see it presented is that, during two recent maxima/minima in MACD a line is drawn from the max of the previous signal to the current max. What we are doing is just defining a recent slope, rather than the slope between the two maxima.

Not sure how to code this.

StockFetcher Forums · Filter Exchange · BEST BY FAR POS and neg divergence indicator<< 1 2 >>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