Double RSI For Kate
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © CaryKentGordon

//@version=5
indicator("Double RSI KE")

//Get rsi
rsi1_ = ta.rsi (close, 25)
rsi2_ = ta.rsi(close, 100)

//plot rsi's
plot(rsi1_, "RSI1", rsi1_< rsi2_ ? color.red : color.green)
Rsi1_ = input(25, "RSI 1 Period")
plot(rsi2_, "RSI2", color.white)
Rsi2_ = input(100, "RSI 2 Period")