Notice: StockFetcher is experiencing server performance issues. We are working to resolve this issue as soon as possible. We apologize for any inconvenience.
StockFetcher Forums · Filter Exchange · RSI DIVERGENCE<< 1 2 3 >>Post Follow-up
wwells
3 posts
msg #100119
Ignore wwells
4/5/2011 4:12:02 PM

RSI divergence from price is one the primary uses of Wilders inticator, but I have not been able to build a scan to find stocks that are either making new lows while RSI is moving up, or in the case of new highs, the RSI is failing to reach new high. Stockfetcher admin sent one but it is not effective. If anyone has a screen for RSI divergence I would like to try it.
One other aspect of RSI divergence is when a new high is preceded by a failure swing, it strengthens the RSI signal. but writing a scan for that seems unlikely.

four
4,012 posts
msg #100120
Ignore four
modified
4/5/2011 4:39:22 PM

Possibly...

On the day after trigger... place buy using the low of day before trigger


Fetcher[
3 day slope of rsi(2) < -0.01
3 day slope of low > 0.01

rsi(2) 2 days ago < 4
close > 1
avgvol(5) > 50000
]



TheRumpledOne
6,362 posts
msg #100140
Ignore TheRumpledOne
modified
4/6/2011 2:11:54 AM

Fetcher[

/* TRO 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}

/* 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)}


set{rsidays,days(RSI(2) below 1, 15)}


set{T10, count(10 day slope of the close above 0,1)}
set{T60, count(60 day slope of the close above 0,1)}
set{T200, count(200 day slope of the close above 0,1)}

Set{u1, T200 * 1}
Set{u2, T60 * 10}
Set{u3, T10 * 100}

Set{uu, u1 + u2}
Set{TREND, uu + u3}


add column PD2345
add column posdiv
add column pddays



add column separator
add column trend

add column rsidays
add column rsi(2) 200 day low
add column separator
add column CMA(Day Point Range, 30)
add column separator


close above 1
avgvol(90) above 1000000

rsi(2) below rsi(2) 1 day ago

PD2345 above 0

sort column 5 descending

]



scvidar
56 posts
msg #100145
Ignore scvidar
4/6/2011 3:31:32 PM

HI FOUR.

I LIKE IT. SIMPLE & NOT VERBOSE.

Kevin_in_GA
4,557 posts
msg #100147
Ignore Kevin_in_GA
4/6/2011 3:51:20 PM

Simple ... divergence is when price and the indicator of choice are moving in opposition.

Fetcher[

close below close 5 days ago
RSI(5) above RSI(5) 5 days ago

]



Obviously you can modify this to your liking

Fetcher[

close lost more than 5% over the last 5 days
RSI(5) gained more than 10% over the last 5 days

]



mystiq
650 posts
msg #100162
Ignore mystiq
modified
4/7/2011 12:41:09 AM

34 results from: Wednesday April 6, 2011
Symbol Last Chg(%) Vol pd2345 posdiv pddays trend rsidays RSI(2)40-weeklow MA(DayPointRange,30) Analysis Chart
EDZ - 16.43 -1.50 1060100 1111.00 7.00 2.00 0.00 2.00 0.48 0.79 historical 3m , 6m , 1y , 2y


-->TRO
***the results from today...confused on how to understand pd2345 column? is 1111.00 the number of "potential" postive divergences? or does it mean something else? ***

pd2345 shows if there is a 2, 3, 4 or 5 day positive divergence.

1000 = 2 day
0100 = 3 day
0010 = 4 day
0001 = 5 day

1111 = 2, 3, 4 and 5 day positive divergence.

**Thanks for the response

wwells
3 posts
msg #100173
Ignore wwells
4/8/2011 12:28:31 AM

Either, it is not possible to use the SF program to identify a divergence, or those trying to help with a scan for divergences do not understand Wilders definition of a divergence between price and RSI. Also the changes in price and
RSI occur over varying time periods, some happen quickly and some take several days. A few examples oF recent divergences are SONC, BEBE,FMER, CX, HGG , and ABT in Feb is a classic example.of what I would like to find with a scan It maybe one of those things easy to recognize but too hard to write in code.

TheRumpledOne
6,362 posts
msg #100177
Ignore TheRumpledOne
4/8/2011 8:05:49 AM


-->TRO
***the results from today...confused on how to understand pd2345 column? is 1111.00 the number of "potential" postive divergences? or does it mean something else? ***

=========================================
pd2345 shows if there is a 2, 3, 4 or 5 day positive divergence.

1000 = 2 day
0100 = 3 day
0010 = 4 day
0001 = 5 day

1111 = 2, 3, 4 and 5 day positive divergence.



four
4,012 posts
msg #100183
Ignore four
4/8/2011 11:01:01 AM

Fetcher[
rsi(2) reached a new 5 day low within the last 1 day
rsi(2) reached a new 10 day low within the last 1 day

high reached a new 5 day high within the last 1 day
high reached a new 10 day high within the last 1 day

close > 1
avgvol(5) > 102300
do not draw rsi(2)
set{x, rsi(2)}
draw x
]



TheRumpledOne
6,362 posts
msg #102561
Ignore TheRumpledOne
modified
9/7/2011 10:25:10 AM

Fetcher[

/* TRO RSI(2) Positive Divergence */

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

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

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

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

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

set{nd11,count(close below close 11 days ago,1) * count(rsi(2) above rsi(2) 11 days ago,1) }
set{nd12,count(close below close 12 days ago,1) * count(rsi(2) above rsi(2) 12 days ago,1) }
set{nd13,count(close below close 13 days ago,1) * count(rsi(2) above rsi(2) 13 days ago,1) }
set{nd14,count(close below close 14 days ago,1) * count(rsi(2) above rsi(2) 14 days ago,1) }
set{nd15,count(close below close 15 days ago,1) * count(rsi(2) above rsi(2) 15 days ago,1) }
set{nd16,count(close below close 16 days ago,1) * count(rsi(2) above rsi(2) 16 days ago,1) }
set{nd17,count(close below close 17 days ago,1) * count(rsi(2) above rsi(2) 17 days ago,1) }
set{nd18,count(close below close 18 days ago,1) * count(rsi(2) above rsi(2) 18 days ago,1) }
set{nd19,count(close below close 19 days ago,1) * count(rsi(2) above rsi(2) 19 days ago,1) }
set{nd20,count(close below close 20 days ago,1) * count(rsi(2) above rsi(2) 20 days ago,1) }

add column nd2 {PD2}
add column nd3 {PD3}
add column nd4 {PD4}
add column nd5 {PD5}
add column nd6 {PD6}
add column nd7 {PD7}
add column nd8 {PD8}
add column nd9 {PD9}
add column nd10 {PD10}
add column nd11 {PD11}
add column nd12 {PD12}
add column nd13 {PD13}
add column nd14 {PD14}
add column nd15 {PD15}
add column nd16 {PD16}
add column nd17 {PD17}
add column nd18 {PD18}
add column nd19 {PD19}
add column nd20 {PD20}

symlist(aapl,rimm,cat,yhoo)

]



A "1" in the column indicates there is POSITIVE DIVERGENCE between price and RSI(2).

Not sure how far I can push this.

StockFetcher Forums · Filter Exchange · RSI DIVERGENCE<< 1 2 3 >>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