clam61 92 posts msg #43086 - Ignore clam61 |
4/20/2006 2:26:56 PM
this one's a bit harder. the pseudo code would be too
find a high within the last X days
find stocks that are approaching the high from below within Y%
|
clam61 92 posts msg #43087 - Ignore clam61 modified |
4/20/2006 2:39:12 PM
anyone?
|
heyen 124 posts msg #43091 - Ignore heyen |
4/20/2006 3:19:14 PM
slow down, turbo!
|
heyen 124 posts msg #43096 - Ignore heyen |
4/20/2006 4:33:05 PM
is this closer to what you are looking for?
|
elroz 26 posts msg #43097 - Ignore elroz |
4/20/2006 4:39:30 PM
using a 6 week high, I believe this is what you are looking for. Change the pos to whatever percent you like.
set{hi6w, high 6 week high}
set{lo6w, low 6 week low}
set{range, hi6w - lo6w}
set{cpos, close - lo6w}
set{pos, cpos / range}
show stocks where pos is above 0.99
and high is less than 6 week high
and draw high 6 week high
|
clam61 92 posts msg #43092 - Ignore clam61 modified |
4/20/2006 4:51:47 PM
=)
sorry, just eager to learn.
is there a way to set a specific interval for "approaching"
lets say wihtin 1% of the high?
look at EOP. the two week high is not correct on the chart.
|
elroz 26 posts msg #43099 - Ignore elroz |
4/20/2006 5:04:55 PM
I was just using the 6 week high and low as an example. Feel free to fill in whatever you like.
|
clam61 92 posts msg #43100 - Ignore clam61 modified |
4/20/2006 5:12:05 PM
returned 0 results, but it might be because stockfetcher is updating their site
|
elroz 26 posts msg #43101 - Ignore elroz modified |
4/20/2006 5:16:18 PM
yea, it's updating. You'll definatly see results. use a date offset of 1 for now.
It may help to take out "high is less than 6 week high"
|
clam61 92 posts msg #43102 - Ignore clam61 |
4/20/2006 5:20:53 PM
thanks elroz, but why did you write "high 6 week high" instead of "6 week high"? seems like "high 6 week high" would be a syntax error
|