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 359 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
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 359 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
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.
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...
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
|