Fisher Transform
Turns price's position in its recent high-low range into sharper turning-point signals.
Ehlers Fisher Transform: v = 0.66 × ((x − lowest) ÷ (highest − lowest) − 0.5) + 0.67 × v[1], clamped to ±0.999 beyond ±0.99; fisher = 0.5 × ln((1 + v) ÷ (1 − v)) + 0.5 × fisher[1]; trigger = fisher[1]. Highest and lowest of x over the last length candles (current included); the recursions start at 0 and settle during warm-up. A flat window is not ready and restarts the recursions. Mirror: signed (a mirrored price turns v around 0).
Settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| length | 9 | 1 to 500 | Candles of the high-low window. |
What it gives
| Output | What it is |
|---|---|
| Fisher | Fisher value, unbounded. |
| Trigger | Previous Fisher value. |
What it reads
It reads open, high, low, close, hl2, hlc3, ohlc4, hlcc4, hl2 by default.
Warm-up
With its default settings, Fisher Transform needs 59 closed candles before its first value. A backtest loads them before its start date, so the first trade can already use it.
Test it
Copy this sentence into the Algonney chat to backtest it:
Backtest a strategy on BTC that uses Fisher Transform with its default settings