StockFetcher Forums · General Discussion · trouble coding phrase<< >>Post Follow-up
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,153 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
721 posts
msg #142316
Ignore snappyfrog
2/17/2018 3:32:07 PM

Fetcher[
show stocks where high reached a new 52 week high
and draw MA(50)
and draw MA(200)
]



snappyfrog
721 posts
msg #142317
Ignore snappyfrog
2/17/2018 3:33:01 PM

Or maybe:

Fetcher[
show stocks where high reached a new 52 week high in the last 21 days
and draw MA(50)
and draw MA(200)
]



Mactheriverrat
3,153 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

Fetcher[
HIGH REACHED A NEW 52 WEEK HIGH WITHIN 21 DAYS
]



nibor100
1,031 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.

Fetcher[
HIGH REACHED A NEW 52 WEEK HIGH WITHIN the last 21 DAYS
]



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!

StockFetcher Forums · General Discussion · trouble coding phrase<< >>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 2022 - 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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.