StockFetcher Forums · General Discussion · Historical matches<< >>Post Follow-up
sunspore
18 posts
msg #144777
Ignore sunspore
9/27/2018 8:07:32 PM

Hi,
New to this, so bear with me...
Looking for a way to encapsulate (nest?) a condition, into a lookback period - look for it a specified number of days back, or during a certain historical time frame.
For instance, if I wanted to find this chart pattern on any stock 10 days ago, or within the last 2 months:

Find stocks where Close above open
And Close 1 day ago was below the open 1 day ago
And High is above high 1 day ago
And Low is below low 1 day ago

I would have thought you could use parentheses and then define the lookback condition:

Find stocks where (Close above open
And Close 1 day ago was below the open 1 day ago
And High is above high 1 day ago
And Low is below low 1 day ago)
10 days ago

But that doesn't seem to work. Any help is greatly appreciated.


four
5,087 posts
msg #144778
Ignore four
modified
9/27/2018 11:38:09 PM

perhaps... run your filter and then use the drop-down

Image and video hosting by TinyPic

four
5,087 posts
msg #144779
Ignore four
modified
9/27/2018 11:43:34 PM

perhaps... build into filter

YOUR ORIGINAL
Find stocks where (Close above open
And Close 1 day ago was below the open 1 day ago
And High is above high 1 day ago
And Low is below low 1 day ago)
10 days ago
MODIFIED
Close 10 days ago above open 10 days ago
And Close 11 day ago was below the open 11 day ago
And High 10 days ago is above high 11 day ago
And Low 10 days ago is below low 11 day ago


StockFetcher Forums · General Discussion · Historical matches<< >>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.