StockFetcher Forums · General Discussion · Need help creating a filter...<< >>Post Follow-up
BuffaloBill
17 posts
msg #31887
Ignore BuffaloBill
4/27/2004 12:15:31 AM

I've been trying to develop a filter which finds stocks whose high/low
range has been narrowing over a given period of time, and where the
most recent day has the narrowest range of all.
Haven't had much luck yet.

The 5 day period doesn't necessarily have to be declining. It could
also be a sideways pattern, though preferrably not inclining.
Today's range must be the narrowest within the 5 days.

Example of what I'm looking for:
Hope the simulated 'price bars' display ok.
Had to enter periods to keep the spacing.

|
|
|..|
|..|..|
|.....|
......|..|..|
.........|..x

'x' is the bar I'm looking for over the last 5 days.

My definition of a daily high/low range is...: the high minus the low.

Would appreciate one of you pros would help.

TIA

Bill


yepher
353 posts
msg #31889
Ignore yepher
4/27/2004 9:28:49 AM

One possibilty is to use the user defined pattern:

http://stockfetcher.com/stockdb/fetcher?p=candle




cegis
235 posts
msg #31890
Ignore cegis
4/27/2004 9:29:10 AM

Bill,

The indicator you're looking for is Day Point Range. So, you could try

Fetcher[Day Point Range has been decreasing for the last 5 days]



If that doesn't seem to do it, you could use the "days ago" clause to check each day explicitly (5 days ago > 4 days ago and...).

HTH,

C


yepher
353 posts
msg #31891
Ignore yepher
4/27/2004 9:41:54 AM

Here are a few other ideas that may get what you are looking for:

The AND reached 6 day low maybe redundant but I do get different results

Fetcher[
day range has been decreasing for the past 6 days
AND day range has reached a 6 day low
]



Or if you are not worried that each and every day is decreasing you could do something like this. I like this one because it gives you a nice oscillator graph to refer to when you look at the graph. Linear Regression may yeild better results but I expect that the real value of this would be to analyze the divergence or the resulting oscilator.

Fetcher[
5 day slope of CMA(Day Range, 3) is below 0
]



Good Luck





BuffaloBill
17 posts
msg #31893
Ignore BuffaloBill
4/27/2004 5:33:14 PM

Thanks Yepher & Cegis...

Not only solved my problem, but got me thinking of a whole different
approach to the problem. Seems like filters were made for tweaking. lol
Again, I really appreciate your assistance.


DasKapital
36 posts
msg #31900
Ignore DasKapital
4/28/2004 11:53:49 AM

Hi Bill,

Speaking of tweaking filters, this might also be of interest, although not exactly as you requested...

Fetcher[day point range has reached a new 5 day low and 5 day slope of high is below -.05 and 5 day slope of low is below .5 and price is above 5 and day point range 4 days ago is greater than day point range 3 days ago and day point range 4 days ago is greater than day point range 2 days ago and day point range 4 days ago is greater than day point range 1 day ago and day point range 1 day ago is above day point range]



See ya,
DK


BuffaloBill
17 posts
msg #31935
Ignore BuffaloBill
4/29/2004 9:37:14 PM

DK - Thanks for the filter.
Very close to what I was looking for.
Going to follow some stocks with it for a while.
G/L


StockFetcher Forums · General Discussion · Need help creating a filter...<< >>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