mktmole 325 posts msg #58349 - Ignore mktmole |
12/20/2007 4:49:39 PM
This might be helpful to some;
*** Thanks to TRO, his ongoing work and help to all.
fetcher[/* TRO’s RSI DIVERGENCE FILTER. General Discussion 12/2/2006 */
/* 9 Days of RSI(2) Divergence. ie lower prices making higher rsi(2) */
set{dv2,count(close below close 2 days ago,1) * count( RSI(2) above RSI(2) 2 days ago,1)}
set{dv3,count( close below close 3 days ago,1) * count( RSI(2) above RSI(2) 3 days ago,1)}
set{dv4,count( close below close 4 days ago,1) * count( RSI(2) above RSI(2) 4 days ago,1)}
set{dv5,count( close below close 5 days ago,1) * count( RSI(2) above RSI(2) 5 days ago,1)}
set{dv6,count( close below close 6 days ago,1) * count( RSI(2) above RSI(2) 6 days ago,1)}
set{dv7,count( close below close 7 days ago,1) * count( RSI(2) above RSI(2) 7 days ago,1)}
set{dv8,count( close below close 8 days ago,1) * count( RSI(2) above RSI(2) 8 days ago,1)}
set{dv9,count( close below close 9 days ago,1) * count( RSI(2) above RSI(2) 9 days ago,1)}
Set{n9, dv9 * 10000000}
Set{n8, dv8 * 1000000}
Set{n7, dv7 * 100000}
Set{n6, dv6 * 10000}
Set{n5, dv5 * 1000}
Set{n4, dv4 * 100}
Set{n3, dv3 * 10}
set{nf, n8 + n9}
set{ne, nf + n7}
set{nd, ne + n6}
set{nc, nd + n5}
set{nb, nc + n4}
set{na, nb + n3}
Set{PD98765432, na + dv2}
SET{maxgain4, high 5 day high - open 4 days ago}
pd98765432 above 0
/* end of TRO’s 12/2/2006 basic filter */
/* Finding stocks that made 52 week highs and now FAST %K criteria met. RSI(2) positive divergence display. */
set{ x52h, count( high reached a new 52 week high, 20) }
set{f14, fast stochastic fast %k(14)}
set{f141, fast stochastic fast %k(14) 1 day ago }
set{f14b,days(f14 is above f141, 100)}
set{f14a,days(f14 is below f141, 100)}
set{f14xf14, f14a - f14b}
add column maxgain4
add column pd98765432
add column f14xf14
add column fast stochastic fast %k(14)
fast stochastic fast %k(14) is below 10
x52h above 0
/* market is nasdaq */
do not draw x52h
draw high 52 week high
close above 5
and Average Volume(30) is above 250,000
add column weekly RSI(2)
add column RSI(2)
draw RSI(2)
draw RSI(2) 52 week low
draw RSI(2) 52 week high
do not draw pd98765432
sort column 5 descending
and date offset 1 day]
|