Fisher Transform

Calculate the Fisher Transform: the prices’ position within their range turned into a near-normal distribution, which makes the turning points sharper and easier to see.

The Fisher Transform of Ehlers (2002) turns the position of the median price within its recent range into a series that is close to normally distributed. An oscillator of the position spends most of its time in the middle and gives vague turning points; the transform stretches the values near the edges of the range, so the extremes, and the turns after them, become sharp and rare. The trigger is the previous value of the transform, and the transform crossing its trigger marks a turn.

The formula is as follows:

\[\text{Median Price} = \frac{\text{High} + \text{Low}}{2}\] \[\text{Lowest} = \min(\text{Median Price},\; \text{window})\;\;\text{and}\;\; \text{Highest} = \max(\text{Median Price},\; \text{window})\] \[\text{Position} = \frac{\text{Median Price} - \text{Lowest}}{\text{Highest} - \text{Lowest}}\] \[\operatorname{Value}(t) = 0.66 \cdot (\text{Position} - 0.5) + 0.67 \cdot \operatorname{Value}(t - 1),\;\; \text{set to 0.999 above 0.99 and to -0.999 below -0.99}\] \[\text{Fisher Transform}(t) = 0.5 \cdot \ln\left(\frac{1 + \operatorname{Value}(t)}{1 - \operatorname{Value}(t)}\right) + 0.5 \cdot \text{Fisher Transform}(t - 1)\] \[\operatorname{Trigger}(t) = \text{Fisher Transform}(t - 1)\]

Value and Fisher Transform start from 0, as in Ehlers’ published formula. The transform is centred on zero and bounded by ln(1999), about -7.6 and 7.6.

Also known as: Fisher, Ehlers Fisher Transform, FISHT.

Example · AAPL, MSFT · 2024 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_fisher_transform:

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["AAPL", "MSFT"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2024-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_fisher_transform().xs("AAPL", level=1, axis="columns")

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

How did the Fisher Transform of Apple and its trigger line move in 2025?

Which returns:

Parameters

get_fisher_transform accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe time period to consider for historical data. Options are: “intraday” (intraday prices), “daily” (daily prices), “weekly” (weekly prices), “monthly” (monthly prices), “quarterly” (quarterly prices), “yearly” (yearly prices). Defaults to “daily”."weekly"
close_columnstrThe column name for closing prices in the historical data. Defaults to “Adj Close”, in which case the high and low prices are adjusted for dividends in the same way."Close"
windowintThe number of periods of the range of the median price. Defaults to 10.20
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the Fisher Transform and trigger. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

  • Paper Ehlers, J.F. (2002). “Using the Fisher Transform.” Technical Analysis of Stocks & Commodities, 20(11).
  • Paper Ehlers, J.F. (2004). “Cybernetic Analysis for Stocks and Futures.” Wiley.
  • Library Referenced against TA-Lib’s FISHER
  • Library Shares similar logic as pandas-ta-classic’s fisher
  • Library Shares similar logic as finta’s FISH
Share