StockFetcher Forums · General Discussion · Filter for if a stock qualifies for one of several factors<< >>Post Follow-up
Sackymotto
11 posts
msg #143539
Ignore Sackymotto
5/13/2018 3:28:25 AM

I need to write a filter that will list stocks if one of several conditions in the filter is met. I don't want the stock to have to meet all of the requirements. This is what it would look like:

Or RSI(2) 1 day ago below 5
Or RSI(2) 2 day ago below 5
Or RSI(2) 3 day ago below 5
Or RSI(2) 4 day ago below 5
Or RSI(2) 5 day ago below 5

Does anyone know how to make such a filter? Any help would be appreciated.

four
5,087 posts
msg #143540
Ignore four
modified
5/13/2018 5:35:42 PM

perhaps...
set{x, count(rsi(2) 1 day ago < 5,5)}
draw x line 1
draw rsi(2) line 5
add column x equals 1
sp500

xanhotep
1 posts
msg #143543
Ignore xanhotep
5/14/2018 6:31:11 AM

Hey there,

maybe this can help you, it's a way that you can use a logic 'or': https://forums.stockfetcher.com/sfforums/?q=view&tid=28017&start=0

Have a great day!

StockFetcher Forums · General Discussion · Filter for if a stock qualifies for one of several factors<< >>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.