The fisher transform indicator by John Ehlers is a range oscillator showing where today’s price is within the past N-days highest and lowest. It has some smoothing, plus what’s known in mathematics as a fisher transform.
The range position is similar to Stochastics and to Williams %R (see Williams %R). The fisher transformation stretches out values near the N-day high and low to make large peaks so as to help highlight those extremes.
The calculation is as follows. The prices used are the midpoint between the day’s high and low (as in most of Ehlers’ indicators). Today’s price is located within the highest and lowest of those midpoints from the past N days, scaled to -1 for the low and 1 for the high.
price = (high + low) / 2 price - Ndaylow raw = 2 * ------------------ - 1 Ndayhigh - Ndaylow
This raw position is smoothed by a 5-day EMA (see Exponential Moving Average) then a log form which is the fisher transform, before a final further 3-day EMA smoothing.
smoothed = EMA of raw 1 + smoothed fisher = EMA of log ------------ 1 - smoothed
The effect of the logarithm is to make “smoothed” values near 0 remain near there, but values near 1 and -1 grow greatly, thus highlighting extremities. A “smoothed” value of exactly +/-1 would transform to +/-infinity, so a clamp of 0.999 is applied, effectively limiting the final result to about +/-7.5.
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2016, 2017 Kevin Ryde
Chart is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.