Inverse Fisher RSI [RC Tools]

RC Tools — Inverse Fisher RSI
────────────────────────────────────────────────────────────────────
█ OVERVIEW
A plain RSI spends much of its time hovering in the middle, which makes its overbought and oversold lines blurry: is 62 strong, or just ordinary? John Ehlers' Inverse Fisher Transform of RSI fixes that by reshaping the oscillator itself. It squashes readings toward -1 and +1, so momentum is usually either clearly inside an extreme zone or clearly outside it, and fixed thresholds mean something.
█ WHAT IT DOES
Computes a short RSI, rescales and smooths it, then applies the inverse Fisher transform, giving a bounded oscillator between -1 and +1. Classifies each confirmed bar into one of four zones (Upper Extreme, Positive, Negative, Lower Extreme) with a coloured background, and marks two events: a BULLISH TURN when the oscillator rises back above the lower threshold, and a BEARISH TURN when it falls back below the upper threshold. Markers show in the oscillator pane and optionally on the price chart. A table shows the current zone, how long it has lasted, the reading, the underlying RSI, and the last signal with its age. Alert conditions are included for both turns.
█ THE THEORY BEHIND IT
The Fisher Transform stretches a bell-curve-shaped series so that its turning points stand out. Ehlers observed that running the same mathematics in reverse does the opposite and is useful in its own right: it takes a smoothly varying oscillator and pushes its values toward the extremes, producing a clearer, nearly two-state output. Applied to a lightly smoothed RSI, the result spends less time in ambiguous middle ground, so a fixed threshold such as +/-0.5 separates "momentum clearly stretched" from "not stretched" much more cleanly than a 70/30 line does on a raw RSI.
█ HOW IT IS CALCULATED
1. RSI of the source (J. Welles Wilder's formula), length 5 by default.
2. Rescale: v1 = 0.1 x (RSI - 50), so the RSI is centred on zero.
3. Smooth with a 9-bar moving average: v2. Ehlers' original uses a weighted moving average (WMA), which is the default; the type is selectable.
4. Inverse Fisher transform: IFT = (e^(2 x v2) - 1) / (e^(2 x v2) + 1), bounded between -1 and +1.
5. Zones: Upper Extreme at or above +0.5; Positive from 0 to +0.5; Negative from -0.5 to 0; Lower Extreme at or below -0.5.
6. Bullish Turn = the oscillator crossing up through -0.5. Bearish Turn = crossing down through +0.5. Both are confirmed-bar events.
Everything updates ONLY on confirmed bar close. Zones, markers, the table and alerts all use closed bars, so nothing flips mid-bar.
█ SETTINGS & CONFIGURATION
• Source (default close)
• RSI Length (default 5, Ehlers' classical value) and Smoothing Length (default 9)
• Smoothing Type (default WMA, Ehlers' original): WMA, SMA, EMA, RMA, HMA, DEMA, TEMA, ALMA or Ehlers' Super Smoother. Faster types (EMA, DEMA, TEMA, HMA) react sooner and signal more often; slower types (SMA, RMA, Super Smoother) are calmer and lag more
• Scaling Factor (default 0.1): higher values push the output into the extreme zones more readily
• Signal Threshold (default 0.5)
• Signal markers on the main chart, pane and chart background tinting, table position and all colours are configurable
• Two alert conditions: Bullish Turn and Bearish Turn
█ HOW TO USE IT
Treat it as a momentum-state and timing-context tool rather than a standalone system. The turn markers show when momentum has just come back from an extreme, which many traders use as a cue to look for entries or exits in the direction of their own bias. In a strong trend the oscillator can sit in an extreme zone for a long time, so an extreme reading on its own is not a reversal call. Many users pair it with a trend filter and take only the turns that agree with it.
Works on any asset and timeframe. The defaults are Ehlers' published starting values, not values tuned for a particular market; scaling and smoothing are the main controls for how quickly it reacts.
█ LIMITATIONS
• It is a bounded oscillator that saturates near +/-1. In a strong trend it can stay in an extreme zone for a long time, and an extreme reading is not a reversal forecast.
• The smoothing adds lag. The turn signals fire after the turn is already under way, never before it.
• Threshold crossings can whip back and forth in choppy, range-bound markets, producing clusters of signals that do not follow through.
• The defaults are published starting points, not optimised values for any asset or timeframe. Changing the smoothing type changes how fast the oscillator reacts and how often it signals, and the scaling factor was published with a WMA, so other types may want a small adjustment to it.
• Because the transform compresses extremes, it says which zone momentum is in, not how far beyond the threshold it has gone.
• Four zones are a deliberate simplification of a continuous reality.
• Zones and signals update on confirmed bar close only. This script does NOT repaint.
█ DISCLAIMER
For educational and informational purposes only. Nothing here is financial advice. Past behaviour of any zone or signal does not indicate future results. Trade at your own risk.
────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────
█ OVERVIEW
A plain RSI spends much of its time hovering in the middle, which makes its overbought and oversold lines blurry: is 62 strong, or just ordinary? John Ehlers' Inverse Fisher Transform of RSI fixes that by reshaping the oscillator itself. It squashes readings toward -1 and +1, so momentum is usually either clearly inside an extreme zone or clearly outside it, and fixed thresholds mean something.
█ WHAT IT DOES
Computes a short RSI, rescales and smooths it, then applies the inverse Fisher transform, giving a bounded oscillator between -1 and +1. Classifies each confirmed bar into one of four zones (Upper Extreme, Positive, Negative, Lower Extreme) with a coloured background, and marks two events: a BULLISH TURN when the oscillator rises back above the lower threshold, and a BEARISH TURN when it falls back below the upper threshold. Markers show in the oscillator pane and optionally on the price chart. A table shows the current zone, how long it has lasted, the reading, the underlying RSI, and the last signal with its age. Alert conditions are included for both turns.
█ THE THEORY BEHIND IT
The Fisher Transform stretches a bell-curve-shaped series so that its turning points stand out. Ehlers observed that running the same mathematics in reverse does the opposite and is useful in its own right: it takes a smoothly varying oscillator and pushes its values toward the extremes, producing a clearer, nearly two-state output. Applied to a lightly smoothed RSI, the result spends less time in ambiguous middle ground, so a fixed threshold such as +/-0.5 separates "momentum clearly stretched" from "not stretched" much more cleanly than a 70/30 line does on a raw RSI.
█ HOW IT IS CALCULATED
1. RSI of the source (J. Welles Wilder's formula), length 5 by default.
2. Rescale: v1 = 0.1 x (RSI - 50), so the RSI is centred on zero.
3. Smooth with a 9-bar moving average: v2. Ehlers' original uses a weighted moving average (WMA), which is the default; the type is selectable.
4. Inverse Fisher transform: IFT = (e^(2 x v2) - 1) / (e^(2 x v2) + 1), bounded between -1 and +1.
5. Zones: Upper Extreme at or above +0.5; Positive from 0 to +0.5; Negative from -0.5 to 0; Lower Extreme at or below -0.5.
6. Bullish Turn = the oscillator crossing up through -0.5. Bearish Turn = crossing down through +0.5. Both are confirmed-bar events.
Everything updates ONLY on confirmed bar close. Zones, markers, the table and alerts all use closed bars, so nothing flips mid-bar.
█ SETTINGS & CONFIGURATION
• Source (default close)
• RSI Length (default 5, Ehlers' classical value) and Smoothing Length (default 9)
• Smoothing Type (default WMA, Ehlers' original): WMA, SMA, EMA, RMA, HMA, DEMA, TEMA, ALMA or Ehlers' Super Smoother. Faster types (EMA, DEMA, TEMA, HMA) react sooner and signal more often; slower types (SMA, RMA, Super Smoother) are calmer and lag more
• Scaling Factor (default 0.1): higher values push the output into the extreme zones more readily
• Signal Threshold (default 0.5)
• Signal markers on the main chart, pane and chart background tinting, table position and all colours are configurable
• Two alert conditions: Bullish Turn and Bearish Turn
█ HOW TO USE IT
Treat it as a momentum-state and timing-context tool rather than a standalone system. The turn markers show when momentum has just come back from an extreme, which many traders use as a cue to look for entries or exits in the direction of their own bias. In a strong trend the oscillator can sit in an extreme zone for a long time, so an extreme reading on its own is not a reversal call. Many users pair it with a trend filter and take only the turns that agree with it.
Works on any asset and timeframe. The defaults are Ehlers' published starting values, not values tuned for a particular market; scaling and smoothing are the main controls for how quickly it reacts.
█ LIMITATIONS
• It is a bounded oscillator that saturates near +/-1. In a strong trend it can stay in an extreme zone for a long time, and an extreme reading is not a reversal forecast.
• The smoothing adds lag. The turn signals fire after the turn is already under way, never before it.
• Threshold crossings can whip back and forth in choppy, range-bound markets, producing clusters of signals that do not follow through.
• The defaults are published starting points, not optimised values for any asset or timeframe. Changing the smoothing type changes how fast the oscillator reacts and how often it signals, and the scaling factor was published with a WMA, so other types may want a small adjustment to it.
• Because the transform compresses extremes, it says which zone momentum is in, not how far beyond the threshold it has gone.
• Four zones are a deliberate simplification of a continuous reality.
• Zones and signals update on confirmed bar close only. This script does NOT repaint.
█ DISCLAIMER
For educational and informational purposes only. Nothing here is financial advice. Past behaviour of any zone or signal does not indicate future results. Trade at your own risk.
────────────────────────────────────────────────────────────────────
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.