StockFetcher Forums · Filter Exchange · Macd positive divergence filter !!<< 1 2 >>Post Follow-up
macer
22 posts
msg #61461
Ignore macer
modified
4/14/2008 11:59:48 AM

The ability to find a multiple of previous events (as described it the above post) would be priceless as far as I’m concerned. I have requested this before vis.

days(obv is below obv 1 day ago,100, 2)

where the third input value references how many events to skip. This could be used as discussed to find divergences between price and indicators but also countless other things such as trendlines etc.

Any chance Stockfetcher???


TheRumpledOne
6,411 posts
msg #61462
Ignore TheRumpledOne
modified
4/14/2008 1:12:02 PM

Fetcher[
/* TRO MACD Positive Divergence 2 - 5 days*/

set{nd2,count(close below close 2 days ago,1) * count(MACD fast line(12,26) above MACD fast line(12,26) 2 days ago,1)}}

set{nd3,count(close below close 3 days ago,1) * count(MACD fast line(12,26) above MACD fast line(12,26) 3 days ago,1)}

set{nd4,count(close below close 4 days ago,1) * count(MACD fast line(12,26) above MACD fast line(12,26) 4 days ago,1)}

set{nd5,count(close below close 5 days ago,1) * count(MACD fast line(12,26) above MACD fast line(12,26) 5 days ago,1) }

Set{n1, nd5 * 1}
Set{n2, nd4 * 10}
Set{n3, nd3 * 100}
Set{n4, nd2 * 1000}

Set{na, n1 + n2}
Set{nb, n3 + n4}
Set{PD2345, na + nb}

/* POSDIV is the number of times there was a 2, 3, 4 or 5 day positive divergence during the past 10 days */

set{POSDIV, count(PD2345 above 0, 10)}

/* PDDAYS is the number of days since there hasn't been a 2, 3, 4 or 5 day positive divergence */

set{PDDAYS, days(PD2345 EQUAL 0, 100)}

add column PD2345
add column posdiv
add column pddays

close above .01
volume above 300000

MACD fast line(12,26) below MACD fast line(12,26) 1 day ago

PD2345 above 0

sort column 5 descending

market is nasdaq
]



aamir_alam
5 posts
msg #76008
Ignore aamir_alam
7/3/2009 11:58:47 PM

I am getting this message when running the above scan . any idea ?

Your StockFetcher filter exceeds filter performance restrictions.


aamir_alam
5 posts
msg #76009
Ignore aamir_alam
7/4/2009 12:06:47 AM

Can someone write a filter for this one please

Price is lower than the 9-day low two days ago.
Current MACD value is greater than the 10-day for two, three, and four days ago.
Current MACD is less than 30.
Ignore low activity tickers.


chetron
2,817 posts
msg #77743
Ignore chetron
8/20/2009 7:09:34 PM

OF COURSE....


Fetcher[
SET{VAR6,COUNT(8 day slope close ABOVE 0,1)}
SET{VAR2,COUNT(8 day slope close below 0,1)}
SET{VAR3,COUNT(8 day slope macd FAST LINE above 0,1)}
SET{VAR1,COUNT(8 day slope macd FAST LINE BELOW 0,1)}

SET{PDIVG,VAR2 * VAR3}
SET{NCONVG,VAR2 * VAR1}
SET{PCONVG,VAR6 * VAR3}
SET{NDIVG,VAR6 * VAR1}


DRAW NCONVG ON PLOT PDIVG
DRAW PCONVG ON PLOT NDIVG
]



StockFetcher Forums · Filter Exchange · Macd positive divergence filter !!<< 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 2022 - 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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.