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,529 posts msg #49641 - Ignore TheRumpledOne modified | 
1/28/2007 11:28:04 AM
 
  	    
 
 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,529 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:
 
  	    
 
 
 
  | 
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. 
 
 
  |