StockFetcher Forums · General Discussion · for The RumpledOne<< >>Post Follow-up
papagatorga
124 posts
msg #36354
Ignore papagatorga
6/16/2005 7:21:05 AM

OIS and AEOS have similar 2yr, 6mo and 1mo charts, a STEADY upward slant. I like to buy into these stocks on dips. Anyway to write a scan that would pick up stocks with similar chart patterns? I've tried new one year highs but it didn't work for me.


TheRumpledOne
6,407 posts
msg #36358
Ignore TheRumpledOne
6/16/2005 9:34:31 PM

You guys need to start experimenting with the filters I post here...

I took the one I posted for THEGAPPER and modified it:


Fetcher[
/* version one...

1 month, 6 month and 2 year uptrends

Trend = xyz.00
where x = 1 for 22 day uptrend, 0 for 22 day downtrend
where y = 1 for 125 day uptrend, 0 for 125 day downtrend
where z = 1 for 500 day uptrend, 0 for 500 day downtrend


CxC is number of consecutive days close above (+)/below(-) previous close
*/

set{T10, count(22 day slope of the close above 0,1)}
set{T60, count(125 day slope of the close above 0,1)}
set{T200, count(500 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}

set{CCb,days(close is above close 1 day ago,100)}
set{CCa,days(close is below close 1 day ago,100)}
set{CxC, CCa - CCb}

add column CxC
add column TREND
add column rsi(2)
add column weekly rsi(2)

close above 1

and volume above 1000000


TREND equal 111

]





Fetcher[
/* version two... steeper untrends

1 month, 6 month and 2 year uptrends

Trend = xyz.00
where x = 1 for 22 day uptrend, 0 for 22 day downtrend
where y = 1 for 125 day uptrend, 0 for 125 day downtrend
where z = 1 for 500 day uptrend, 0 for 500 day downtrend


CxC is number of consecutive days close above (+)/below(-) previous close
*/

set{T10, count(22 day slope of the close above 0.5,1)}
set{T60, count(125 day slope of the close above 0.5,1)}
set{T200, count(500 day slope of the close above 0.5,1)}

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

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

set{CCb,days(close is above close 1 day ago,100)}
set{CCa,days(close is below close 1 day ago,100)}
set{CxC, CCa - CCb}

add column CxC
add column TREND
add column rsi(2)
add column weekly rsi(2)

close above 1

and volume above 1000000


TREND equal 111

]




Fetcher[
/* version three... steeper than 1 but not at steep as 2 untrends

1 month, 6 month and 2 year uptrends

Trend = xyz.00
where x = 1 for 22 day uptrend, 0 for 22 day downtrend
where y = 1 for 125 day uptrend, 0 for 125 day downtrend
where z = 1 for 500 day uptrend, 0 for 500 day downtrend


CxC is number of consecutive days close above (+)/below(-) previous close
*/

set{T10, count(22 day slope of the close above 0.25,1)}
set{T60, count(125 day slope of the close above 0.25,1)}
set{T200, count(500 day slope of the close above 0.25,1)}

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

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

set{CCb,days(close is above close 1 day ago,100)}
set{CCa,days(close is below close 1 day ago,100)}
set{CxC, CCa - CCb}

add column CxC
add column TREND
add column rsi(2)
add column weekly rsi(2)

close above 1

and volume above 1000000


TREND equal 111

]



NOTE: THERE ARE 22 TRADING DAYS IN A MONTH ON AVERAGE AND 250 TRADING DAYS IN A YEAR, SO I USED 22, 125 AND 500 FOR THE NUMBER OF DAYS IN THE TREND SECTION.

Change price and volume to suit your needs.

I think that from now on fellow SFers you will have to make an attempt at the filter and post it BEFORE I lend a hand unless I just can't resist...lol

MAY ALL YOUR FILLS BE COMPLETE.



TheRumpledOne
6,407 posts
msg #36359
Ignore TheRumpledOne
6/16/2005 9:40:28 PM

WHOOPS... SF HAS A 200 DAY LIMITATION!!

Oh well, the filter still works but it's about 1 year and not 2.

Fetcher[
/* version two... steeper untrends

1 month, 6 month and 2 year uptrends

Trend = xyz.00
where x = 1 for 22 day uptrend, 0 for 22 day downtrend
where y = 1 for 125 day uptrend, 0 for 125 day downtrend
where z = 1 for 500 day uptrend, 0 for 500 day downtrend


CxC is number of consecutive days close above (+)/below(-) previous close
*/

set{T10, count(22 day slope of the close above 0.5,1)}
set{T60, count(125 day slope of the close above 0.5,1)}
set{T200, count(500 day slope of the close above 0.5,1)}

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

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

set{CCb,days(close is above close 1 day ago,100)}
set{CCa,days(close is below close 1 day ago,100)}
set{CxC, CCa - CCb}

add column CxC
add column TREND
add column rsi(2)
add column weekly rsi(2)
ADD COLUMN 500 day slope of the close
close above 1

and volume above 1000000


TREND equal 111
]



Adding the line... ADD COLUMN 500 day slope of the close

Shows a heading of 200 days!!

I tried... ADD COLUMN 2 year slope of the close

Same result.



TraderBert
22 posts
msg #36395
Ignore TraderBert
6/20/2005 10:30:57 PM

I'll say thanks on this papa's behalf (not that he doesn't intend to--he may not have had a chance yet for all I know), because even if I don't want to use his exact parameters, I can see modifying components to fit what I'm looking for.


StockFetcher Forums · General Discussion · for The RumpledOne<< >>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.