StockFetcher Forums · General Discussion · Help with 52wk low filter<< >>Post Follow-up
tnis0613
3 posts
msg #49638
Ignore tnis0613
1/28/2007 10:40:17 AM

Hi, I'm trying to create a filter that is approaching a 52 week low that it has hit previously. Ideally i would like to find a stock that is within 1-2% of a 52 week low that it has hit before and preferably not the same day. A 52 week low that it has hit either a few days or more ago is what i really want. Does anyone know how i would set up that filter?...thanks a lot.


TheRumpledOne
6,358 posts
msg #49641
Ignore TheRumpledOne
modified
1/28/2007 11:28:04 AM

Fetcher[
set{ low52, low 52 week low }
set{ hitlow52, count( low 1 day ago equal low52 1 day ago, 5) }

set{ pct52a, close - low52 }
set{ pct52b, pct52a / low52}
set{ pct52, pct52b * 100 }

low above low 52 week low
hitlow52 above 0
pct52 below 2.01

add column low52
add column hitlow52
add column pct52

draw low 52 week low

sort column 4 descending
]



This will display stocks that have hit their 52 week low over the past 5 days.

LOW52 is the 52 week low.

PCT52 is the percent.

HITLOW52 is how many times the 52 week low was hit over the last 5 days.

HTH.







ouraccount1
4 posts
msg #49666
Ignore ouraccount1
1/29/2007 1:37:40 AM

Hi:
A good filter and a way to visulaize how a stock is going down. I tried to modify the same to allow to identify stocks approaching 52 week high. Getting 0 as the output and couldn't find any error with the debugger. Can you help.

set{ high52, high 52 week high }
set{ hithigh52, count( high 1 day ago equal high52 1 day ago, 5) }

set{ pct52a, high52-close }
set{ pct52b, pct52a / high52}
set{ pct52, pct52b * 100 }

high below high 52 week high
hithigh52 above high52 1 day ago
pct52 above 2.01

add column high52
add column hithigh52
add column pct52

draw high 52 week high

sort column 4 descending

Thanks


traderblues
195 posts
msg #49669
Ignore traderblues
modified
1/29/2007 7:49:22 AM

In the line "hithigh52 above high52 1 day ago"

Your variable hithigh52 is a count number. You then compare this to high52, which is a price.



ouraccount1
4 posts
msg #49671
Ignore ouraccount1
1/29/2007 8:20:12 AM

Thanks a lot. That worked...

Here is the updated

set{ high52, high 52 week high }
set{ hithigh52, count( high 1 day ago equal high52 1 day ago, 5) }

set{ pct52a, high52-close }
set{ pct52b, pct52a / high52}
set{ pct52, pct52b * 100 }

high below high 52 week high
hithigh52 above 0
pct52 above 2.01

add column high52
add column hithigh52
add column pct52

draw high 52 week high

sort column 6 descending


tnis0613
3 posts
msg #49690
Ignore tnis0613
1/29/2007 7:31:49 PM

Thanks for your responses. I may not have been completely clear. What i'm looking for is a stock that hit its 52 week low for example, a month ago, and is coming close to hitting that same low again telling me that there may be some support there.


TheRumpledOne
6,358 posts
msg #49696
Ignore TheRumpledOne
1/30/2007 1:35:11 AM

tnis0613
- Report offensive post 1/28/2007 10:40:17 AM

Hi, I'm trying to create a filter that is approaching a 52 week low that it has hit previously. Ideally i would like to find a stock that is within 1-2% of a 52 week low that it has hit before and preferably not the same day. A 52 week low that it has hit either a few days or more ago is what i really want. Does anyone know how i would set up that filter?...thanks a lot.


tnis0613
- Report offensive post 1/29/2007 7:31:49 PM

Thanks for your responses. I may not have been completely clear. What i'm looking for is a stock that hit its 52 week low for example, a month ago, and is coming close to hitting that same low again telling me that there may be some support there.

=================

First you say:

"A 52 week low that it has hit either a few days or more ago is what i really want."

That is VERY CLEAR to me.

Then you say:

"What i'm looking for is a stock that hit its 52 week low for example, a month ago, and is coming close to hitting that same low again telling me that there may be some support there."

THAT'S COMPLETELY DIFFERENT!




ronhudson
2 posts
msg #49708
Ignore ronhudson
1/30/2007 1:13:51 PM

The following will return stocks that recently hit a 52 week low, bounced at least 5% off that low, and now are less than 3% above that low:

Fetcher[
close reached a new 52 week low within the last 6 weeks
close has been above close 52 week low for the last 2 weeks
close 2 week high is more than 5% above close 52 week low
close is less than 3% above close 52 week low
close is above 5 and average volume(30) is above 50000 and draw rsi(2)
]





tnis0613
3 posts
msg #49744
Ignore tnis0613
1/31/2007 7:28:00 PM

Perfect thats what i'm looking for. Sorry I know what I said was a little confusing but what i meant was that it didnt JUST hit its 52 week low. Thanks guys.


StockFetcher Forums · General Discussion · Help with 52wk low 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