StockFetcher Forums · General Discussion · how to calculate average RSI for two days<< >>Post Follow-up
sohailmithani
192 posts
msg #100324
Ignore sohailmithani
4/20/2011 12:40:27 PM

I want to use a filter for RSI(2) and select stocks or ETFs if the average for two days is below 25
e.g. RSI(2) i day ago was 40 and today is 10 then average is 25 and my filter should select stocks accordingly.

Anyone who can help me

Would appreciate that

djones000buck
206 posts
msg #100325
Ignore djones000buck
4/20/2011 1:59:01 PM

Fetcher[

set{rsi2a, rsi(2)}
set{rsi2b, rsi(2) one day ago}
set{rsi2c, rsi2a + rsi2b}
set{rsiavg, rsi2c / 2}
show stocks where rsiavg > 25
add column rsiavg

]



sohailmithani
192 posts
msg #100326
Ignore sohailmithani
4/20/2011 2:10:56 PM

Thanks a lot.

Would you by chance also know how to restrict it only certain kinds of ETFs i.e. only apply this filter to say SPY, DIA, GLD and QQQ.

Again thanks

four
4,012 posts
msg #100329
Ignore four
modified
4/20/2011 6:01:37 PM

Fetcher[

symlist(SPY,DIA,GLD,QQQ)

set{rsi2a, rsi(2)}
set{rsi2b, rsi(2) one day ago}
set{rsi2c, rsi2a + rsi2b}
set{rsiavg, rsi2c / 2}
show stocks where rsiavg > 25
add column rsiavg

]



sohailmithani
192 posts
msg #100338
Ignore sohailmithani
4/20/2011 10:33:45 PM

Thank you so much for helping me out with this.

StockFetcher Forums · General Discussion · how to calculate average RSI for two days<< >>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 2016 - 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