StockFetcher Forums · General Discussion · How to code 5 day low?<< >>Post Follow-up
moonriding
5 posts
msg #157688
Ignore moonriding
9/27/2021 8:46:02 AM

Goal: Find stocks that had a new 5 day low yesterday.

My code:
show stocks where low reached a new 5 day low 1 day ago


Question: confused on whether to put [1 day ago] before or after. Can someone please clarify when [X day ago] is used before or after phrases?

redversa721
157 posts
msg #157689
Ignore redversa721
9/27/2021 10:27:40 AM

Fetcher[
show stocks where low reached a new 5-day low 1 day ago
]



nibor100
1,046 posts
msg #157691
Ignore nibor100
9/27/2021 1:28:27 PM

@moonriding,

I prefer the following, where I put "1 day ago" nearest the variable that I want SF to look at "1 day ago" as sometimes compound phrases in SF return anomalous results:

show stocks where low 1 day ago reached a new 5-day low

but in this case, it appears either position is fine as your line and my line return identical results.

Ed S.

StockFetcher Forums · General Discussion · How to code 5 day low?<< >>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.