Indicator or (composition) for Stochastic RSI?

I'm trying to figure out if there is a way to possibly combine the RSI and STO indicators to get the stochastic RSI. So far in my searches I haven't found anything, and I'm still new to the framework and trying to grasp these more nuanced pieces. I could write the algorithm for it myself, but it seems silly to do if I'm just missing something, also seems like this should be a thing... does anyone have a way of doing this?

Update Backtest

Unfortunately, it doesn't look like the RSI and STO indicators can be combined due to the object types that the indicators return. 

However, since the a StochRSI is just: 

StochRSI = (RSI - Lowest Low RSI) / (Highest High RSI - Lowest Low RSI)

it is quite possible to store the lowest low and highest high. The indicator extensions .MAX(int period) and .MIN(int period) can also be implemented. The StochRSI can be updated during every iteration of OnData(), and then can be used to create trading signals.


Update Backtest


The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


This discussion is closed