StockFetcher Forums · Filter Exchange · Positive Divergence discussion<< >>Post Follow-up
fortyfour
185 posts
msg #95355
Ignore fortyfour
8/3/2010 5:49:25 PM

I havent seen any comments on this new feature.

This example looks for a positive divergence in the Rate of Change and Price( the low) over the last 5 days.
I am looking for a .01 percentage threshold(since smroc(x,x) percentage diff is very small)
I am looking for situations where price has not moved very far from the 3 day low.

How would others use this ?

Rsi(2) and Close ? and so on.... and so on......


A filter is worth a 1000 words


Fetcher[set{3low, low 3 day low}

low is less than 3 percent above 3low
draw Smoothed Rate of Change(3,2)
close > 5

sfPosDiv(smoothed rate of change(3,2), low, 5,.01) is above 0
avg vol(90) > 1000000
add column 3low
add column low
]






dwiggains
391 posts
msg #95357
Ignore dwiggains
8/3/2010 7:06:26 PM

Here are a couple of mine.


RSI 3 day divergence

Fetcher[
close below close 3 days ago and rsi (3) above rsi (3) 3 days ago
and close 2 days ago above close 3 days ago
and CCI (14) 3 days ago < -150
Draw MA (50)
and rsi (3) < 25
and optionable
]




RSI 4 day divergence

Fetcher[
close below close 4 days ago and rsi (3) above rsi (3) 4 days ago
and close 3 days ago above close 4 days ago
and CCI (14) 4 days ago < -150
Draw MA (50) and average volume (90) > 3,000,000
and rsi (3) < 25
and optionable
]



I borrowed this one from somewhere. (don't remember)

Positive divergence

Fetcher[
RSI(2)is above RSI(2)2 days ago
low is below low 2 days ago
low 1 day ago is above low 2 days ago
low 2 days ago is below low 3 days ago
RSI(2)is decreasing-1 day

RSI(7)is above RSI(7)2 days ago
RSI(7)is decreasing-1 day

Williams %R(7) is above Williams %R(7)2 days ago
Williams %R(7)is decreasing-1 day

CCI(7)is above cci(7)2 days ago
CCI(7)is decreasing-1 day

DMA(28,-14)is ABOVE price

Set{MACDDiff, MACD fast line(12,26) - MACD slow line(12,26) }
set{MACDb,days(MACDDiff is above MACDDiff 1 day ago,100)}
set{MACDa,days(MACDDiff is below MACDDiff 1 day ago,100)}
set{MACDX, MACDa - MACDb}
Draw Linear Regression Indicator(20)
Average volume(90)is above 100000
Add column average volume(90)
Add column DMA(28,-14)
Add column MACDX
sort column 6 descending
close is above 10


/* RIGGS ACCUMULATION WARM POP-80 */

/* NORMALIZE accumulation distribution */

set{adval, INDPOSITION(accumulation distribution, 60) * 100 }

/* NORMALIZE RSI(7) */

set{rsval, INDPOSITION(RSI(7), 60) * 100}

/* NORMALIZE CCI(7) */

set{ccval, INDPOSITION(CCI(7), 60) * 100 }

/* NORMALIZE williams %r(7) */

set{wrval, INDPOSITION(williams %r(7), 60) * 100 }

and draw wrval
and draw adval on plot wrval
and draw ccval on plot wrval
and draw rsval on plot wrval


add column adval
add column ccval
add column rsval
add column wrval
]



See ya
David

wkloss
230 posts
msg #95358
Ignore wkloss
8/3/2010 10:24:44 PM

fourtyfour,

You wrote

"A filter is worth a 1000 words"

Not really. A lot of times, the filters don't make sense to non-filter writers. Usually, most of you have spent time researching, reading, thinking etc and understand how to use the filter.

It would be great if you added a few words of explanation. Also, thank you for the filter. It is more code than I could write.

Not a complaint....just an observation.

Bill


Eman93
4,659 posts
msg #95359
Ignore Eman93
8/3/2010 11:31:37 PM

fortyfour
msg #95355
- Ignore fortyfour 8/3/2010 5:49:25 PM

I havent seen any comments on this new feature.

This example looks for a positive divergence in the Rate of Change and Price( the low) over the last 5 days.
I am looking for a .01 percentage threshold(since smroc(x,x) percentage diff is very small)
I am looking for situations where price has not moved very far from the 3 day low.
----------------

Where did you find this? I would like to see the description...

Thanks,

TheRumpledOne
6,362 posts
msg #95360
Ignore TheRumpledOne
modified
8/4/2010 1:21:47 AM

I think I posted divergence filters years ago.

I found some code:


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

set{nd2,count(close below close 2 days ago,1) * count(rsi(2) above rsi(2) 2 days ago,1)}}

set{nd3,count(close below close 3 days ago,1) * count(rsi(2) above rsi(2) 3 days ago,1)}

set{nd4,count(close below close 4 days ago,1) * count(rsi(2) above rsi(2) 4 days ago,1)}

set{nd5,count(close below close 5 days ago,1) * count(rsi(2) above rsi(2) 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}


add column PD2345

PD2345 above 0

volume above 1000000
close above 1

]



StockFetcher Forums · Filter Exchange · Positive Divergence discussion<< >>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