indicator · own pane · open source
Ehlers Inverse Fisher RSI indicator
Ehlers Inverse Fisher RSI is a free open-source indicator. Ehlers Inverse Fisher RSI — maps RSI through a hyperbolic tan so its values cluster at ±1… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Ehlers Inverse Fisher RSI does
Ehlers Inverse Fisher RSI — maps RSI through a hyperbolic tan so its values cluster at ±1 instead of being squished inside 30–70. The ±0.5 bands are the 'real' overbought / oversold levels.
- Cleaner than raw RSI on ranging assets; great filter for mean-reversion.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Ehlers Inverse Fisher RSI", overlay=false)
len = input.int(14, "RSI length", minval=2, maxval=100)
colorBg = input.color("color.purple", "Color Bg")
colorNeutral = input.color("color.gray", "Color Neutral")
rsi = ta.rsi(close, len)
v = 0.1 * (rsi - 50)
ifrs = (math.exp(2 * v) - 1) / (math.exp(2 * v) + 1)
hline(0.5, "OB", color=colorNeutral)
hline(-0.5, "OS", color=colorNeutral)
p_IF_RSI = plot(ifrs, "IF RSI", color=colorBg, linewidth=2)
alertcondition(ta.crossover(ifrs, 0.5), "Inverse-Fisher OB", "IF-RSI above 0.5")
alertcondition(ta.crossunder(ifrs, -0.5), "Inverse-Fisher OS", "IF-RSI below -0.5")
No comments yet.
Sign in to comment.