Parabolic RSI
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Sofien-Kaabar

//@version=5
indicator("Parabolic RSI", overlay = false)

parabolic = ta.sar(0.02, 0.02, 0.2)
rsi_parabolic = ta.rsi(parabolic, 21)

plot(rsi_parabolic)
hline(80)
hline(20)