StockFetcher Forums · General Discussion · Have Not...<< >>Post Follow-up
2nickelstripper
6 posts
msg #146952
Ignore 2nickelstripper
3/16/2019 2:19:07 PM

Hey all,

I'm trying to figure out how to exclude stocks that have gone below the RSI (14) within the last x number of days. I just can't seem to figure it out. Does anybody know how I could do this?

For context, its for a pullback setup. The rest of the filter includes stocks that follow certain patterns, but I want to start excluding stuff from it to narrow down the results.

four
5,071 posts
msg #146954
Ignore four
modified
3/16/2019 7:04:31 PM

perhaps this or something derived from this


2nickelstripper
6 posts
msg #146974
Ignore 2nickelstripper
3/17/2019 9:28:34 PM

Thanks for the suggestion, but not quite what I'm looking for I don't think. I'm trying to exclude stocks that have dipped below. A dip below means there is too much momentum against the direction I'm looking to go.

four
5,071 posts
msg #146975
Ignore four
modified
3/17/2019 10:30:50 PM

/*
RSI(14) > 30 when x equals 1 "include stocks below the RSI(14) value 30"
RSI(14) < 30 when x equals 0 "exclude stocks below the RSI(14) value 30"
0 days ago = today "change days ago value 0 as needed"
*/


set{x, count(rsi(14) 0 days ago above 30,1)}
x equals 0
draw rsi(14)

StockFetcher Forums · General Discussion · Have Not...<< >>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 2018 - 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