The Stochastic RSI (SRSI) is a range oscillator that has values between 0 and 100. You can create it by applying the Stochastic oscillator formula to a set of relative strength index (RSI) values rather than to standard price data. Using RSI values within the Stochastic formula gives traders an idea of whether the current RSI value is overbought or oversold.
The SRSI oscillator was developed to take advantage of momentum indicators in order to create a more sensitive indicator that is attuned to a specific historical performance.
You can use the following script to help you combine multiple Stochastic RSIs together and use different buy conditions on them.