| schneider@smprfi.us 9 posts
 msg #142306
 - Ignore schneider@smprfi.us
 | 2/17/2018 3:54:22 AM 
 hello,
 
 i'm fairly new here and am having a little trouble phrasing this 52 week high code:
 
 (count(show stocks where high reached a new 52 week high,21)above 0)
 
 i'm trying to screen for stocks that reached a new 52 week high within the last 21 days, but this simple phrase is not working for some reason. What am i doing wrong?
 
 Thanks!
 
 
 | 
| Mactheriverrat 3,173 posts
 msg #142312
 - Ignore Mactheriverrat
 | 2/17/2018 12:40:03 PM 
 show stocks where high reached a new 52 week high
 and draw MA(50)
 and draw MA(200)
 
 
 
 | 
| snappyfrog 749 posts
 msg #142316
 - Ignore snappyfrog
 | 2/17/2018 3:32:07 PM 
 
 
 
 
 | 
| snappyfrog 749 posts
 msg #142317
 - Ignore snappyfrog
 | 2/17/2018 3:33:01 PM 
 Or maybe:
 
 
 
 
 
 | 
| Mactheriverrat 3,173 posts
 msg #142319
 - Ignore Mactheriverrat
 | 2/17/2018 5:12:47 PM 
 There you go snappyfrog :-)
 
 
 | 
| graftonian 1,089 posts
 msg #142329
 - Ignore graftonian
 | 2/18/2018 12:40:14 PM 
 
 
 
 
 | 
| nibor100 1,099 posts
 msg #142344
 - Ignore nibor100
 | 2/19/2018 2:02:12 AM 
 An alternative set of new 52 wk highs can be achieved by adding "the last"  to the  'within x days'  phraseology.
 
 
 
 
 Ed S.
 
 
 | 
| schneider@smprfi.us 9 posts
 msg #142430
 - Ignore schneider@smprfi.us
 | 2/24/2018 3:55:22 PM 
 That was much more simple than i thought it would be. Thanks for the help!
 
 
 |