glgene 616 posts msg #36364 - Ignore glgene |
6/17/2005 2:17:26 PM
I'm a newbie. Trying to develop a filter to spot a divergence between price (increasing) and RSI (decreasing), since that often results in a stock's price eventually going down. Here is my filter:
"Show stocks where the 22 day slope of the close is between 0 and 1.0
and the 22 day slope of RSI is between -0.25 and -1.0
and price increased the last 1 day"
I think the last line is not correct, and it might need a 4th line (with some reference to RSI). Would appreciate help. Or am I off base trying to use "Slope" to accomplish the task?
GL Gene
|
xplorer 257 posts msg #36366 - Ignore xplorer |
6/17/2005 8:18:38 PM
|
TheRumpledOne 6,411 posts msg #36375 - Ignore TheRumpledOne |
6/18/2005 6:43:32 PM
Since I can't short all the stocks, I'll share this filter with you.
One of my "secret" filters:
Change price and volume to fit your trading strategy.
MAY ALL YOUR FILLS BE COMPLETE.
|
mktmole 325 posts msg #36390 - Ignore mktmole |
6/20/2005 2:40:15 PM
Thanks RO.
Here's a stab at Positive Divergence for Longs.
[/* shows stocks that have 2 day to 5 day positive divergence between price and rsi(2). (decreasing price and increasing RSI(2), and a volume spike
column pd2345 = xxxx where:
1xxx = 2 day positive divergence
x1xx = 3 day positive divergence
xx1x = 4 day positive divergence
xxx1 = 5 day positive divergence
*/
set{pd2,count(close below close 2 days ago,1) * count(rsi(2) above rsi(2) 2 days ago,1)}}
set{pd3,count(close below close 3 days ago,1) * count(rsi(2) above rsi(2) 3 days ago,1)}
set{pd4,count(close below close 4 days ago,1) * count(rsi(2) above rsi(2) 4 days ago,1)}
set{pd5,count(close below close 5 days ago,1) * count(rsi(2) above rsi(2) 5 days ago,1) }
Set{p1, pd5 * 1}
Set{p2, pd4 * 10}
Set{p3, pd3 * 100}
Set{p4, pd2 * 1000}
Set{pa, p1 + p2}
Set{pb, p3 + p4}
Set{PD2345, pa + pb}
set{voldiff, average volume(1) - average volume(30)}
set{volratio, voldiff / average volume(30)}
set{volpercent, volratio*100.0}
volpercent is above 200
and do not draw volpercent
and add column VolPercent
and add column PD2345
and add column weekly rsi(2)
and add column rsi(2)
and sort column 6 descending
and close above .5
and volume above 500,000
and PD2345 above 0
and rsi(2) above rsi(2) 1 day ago
and close above close 1 day ago]
|
TheRumpledOne 6,411 posts msg #36393 - Ignore TheRumpledOne |
6/20/2005 8:25:37 PM
|
Railwhore 69 posts msg #37908 - Ignore Railwhore |
9/10/2005 4:22:32 PM
RO,
I think you have a bug in your filter. Shouldn't that last line in your Negative Divergence be this:
and rsi(2) BELOW rsi(2) 1 day ago?
I seem to get much better results this way.
|
TheRumpledOne 6,411 posts msg #37927 - Ignore TheRumpledOne |
9/13/2005 12:47:26 PM
"RO,
I think you have a bug in your filter. Shouldn't that last line in your Negative Divergence be this:
and rsi(2) BELOW rsi(2) 1 day ago?
I seem to get much better results this way."
Not a bug, just a variation.
You don't even have to have that line in there!
MAY ALL YOUR FILLS BE COMPLETE.
|
TheRumpledOne 6,411 posts msg #41944 - Ignore TheRumpledOne |
3/12/2006 4:35:11 PM
POP TO THE TOP
|