THE INVERSE FISHER TRANSFORM By John Ehlers



Similar documents
Predictive Indicators for Effective Trading Strategies By John Ehlers

INFERRING TRADING STRATEGIES FROM PROBABILITY DISTRIBUTION FUNCTIONS

Chapter 2.3. Technical Indicators

Chapter 2.3. Technical Analysis: Technical Indicators

SWISS ARMY KNIFE INDICATOR John F. Ehlers

Technical Indicators Tutorial - Forex Trading, Currency Forecast, FX Trading Signal, Forex Training Cour...

THE CYCLE TRADING PATTERN MANUAL

Daytrading Stock Pairs

Ehlers Filters by John Ehlers

Finanzdienstleistungen (Praxis) Algorithmic Trading

NEURAL networks [5] are universal approximators [6]. It

Market Technician, TradeStation Labs

How to use Hamzei Analytics CI and DCI Indicators By Fari Hamzei

Neural Network and Genetic Algorithm Based Trading Systems. Donn S. Fishbein, MD, PhD Neuroquant.com

A STUDENT TERM PAPER EVALUATING BUY AND SELL SIGNALS IN THE STOCK MARKET

Precision Diode Rectifiers

Simpler Options. Indicator guide. An informative reference for John Carter s commonly used trading indicators.

High Probability Trading Triggers for Gold & Silver

Mechanical Stock Trading Systems That Really Work Neural Networks and Genetic Algorithms

Emini Trading Strategy

Solving Exponential Equations

HYBRID FIR-IIR FILTERS By John F. Ehlers

Technical Analysis of the Futures Markets:

Trend Determination - a Quick, Accurate, & Effective Methodology

Using Implied Volatility And Volume

Commodity Channel Index

Evaluating Trading Systems By John Ehlers and Ric Way

One of the primary challenges traders deal with is

The True Strength Index (TSI)

Econ 116 Mid-Term Exam

Neural Network Stock Trading Systems Donn S. Fishbein, MD, PhD Neuroquant.com

Dynamic Zones NEW TECHNIQUES

SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY

Professional Trader Series: Moving Average Formula & Strategy Guide. by John Person

atching Currency Moves with The Schaff Trend Cycle Indicator

An Introduction to MetaStock 11

Industry Environment and Concepts for Forecasting 1

I Day. article. In. you but. I just. Entry. Trend. I risk. 2.5% per. equity. a "runner" trading

Understanding Margins

Chapter 27 Using Predictor Variables. Chapter Table of Contents

BROKER SERVICES AND PLATFORM

Leon Wilson Trading Success

THE MACD: A COMBO OF INDICATORS FOR THE BEST OF BOTH WORLDS

STREET SMARTS I. Planetary 2 Library. Introduction: Benefits: L I B R A R I E S

Understanding Margins. Frequently asked questions on margins as applicable for transactions on Cash and Derivatives segments of NSE and BSE

Chapter 18 STAYING WITH A TREND

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

Using simulation to calculate the NPV of a project

Charting Glossary Version 1 September 2008

A Practical Guide to Technical Indicators; (Part 1) Moving Averages

Indicators. Applications and Pitfalls. Adam Grimes

JUST SIT BACK AND LET THE GIRTH MODEL MAKE MONEY FOR YOU. Elham Negahdary

AP PHYSICS 2012 SCORING GUIDELINES

Three-Bar Inside Bar Pattern

How to see the market context using CCI Written by Buzz

Technical Analysis. Technical Analysis. Schools of Thought. Discussion Points. Discussion Points. Schools of thought. Schools of thought

A New Approach to Neural Network based Stock Trading Strategy

Gamma Distribution Fitting

BULL'S EYE TRADING. by Joe Duffy. A trading champion's guide to pinpointing tops and bottoms in any market

Algorithmic Trading Session 6 Trade Signal Generation IV Momentum Strategies. Oliver Steinki, CFA, FRM

FreeStockCharts.com Chart Set-up

PwC. Photo Sources:

Software Review: ITSM 2000 Professional Version 6.0.

Disclaimer: The authors of the articles in this guide are simply offering their interpretation of the concepts. Information, charts or examples

Mathematics Online Instructional Materials Correlation to the 2009 Algebra I Standards of Learning and Curriculum Framework

Overlapping ETF: Pair trading between two gold stocks

Comparing the Awesome Oscillator to a Time-Based Trade: A Framework for Testing Stock Trading Algorithms

Creating Short-term Stockmarket Trading Strategies using Artificial Neural Networks: A Case Study

Clock Jitter Definitions and Measurement Methods

Introduction to ROOT and data analysis

Using Order Book Data

SUPPLY AND DEMAND. We simplify this into a 2-D relationship: SUPPLY CURVE: Q x = f(p x ; Costs, P y ), where ; means "other things being equal"

Exchange-Traded Funds

Jitter Measurements in Serial Data Signals

Enter Here ->>> Forex Profits Book & Video Program User Experience

Programming Manual. IW Graphic Tool Pro. for IW QuickTrade. User s Manual

A Decision-Support System for New Product Sales Forecasting

How to find the big winners in the stock market.

Development of Trading Strategies

Application Note Noise Frequently Asked Questions

PHASE ESTIMATION ALGORITHM FOR FREQUENCY HOPPED BINARY PSK AND DPSK WAVEFORMS WITH SMALL NUMBER OF REFERENCE SYMBOLS

AP Physics 1 and 2 Lab Investigations

NO PART OF THIS E-BOOK MAY BE REPRODUCED FOR PERSONAL OR COMMERCIAL PURPOSE WITHOUT THE EXPRESS PERMISSION OF MARKET GEEKS LLC

In the Herb Business, Part III Factoring and Quadratic Equations

$TICK - Tock - Testing the NYSE TICK Index

An Introduction to Modeling Stock Price Returns With a View Towards Option Pricing

GO Markets Trading Tools

Solving Linear Equations in One Variable. Worked Examples

VBM-ADX40 Method. (Wilder, J. Welles from Technical Analysis of Stocks and Commodities, February 1986.)

Using Bollinger Bands. by John Bollinger

The Trading System

RANDOM VIBRATION AN OVERVIEW by Barry Controls, Hopkinton, MA

Equations for Inventory Management

Filter Design in Thirty Seconds

CHART TRADING GUIDE 1

Alerts & Filters in Power E*TRADE Pro Strategy Scanner

Supplement to Call Centers with Delay Information: Models and Insights

Transcription:

THE INVERSE FISHER TRANSFORM By John Ehlers The purpose of technical indicators is to help with your timing decisions to buy or sell. Hopefully, the signals are clear and unequivocal. However, more often than not your decision to pull the trigger is accompanied by crossing your fingers. Even if you have placed only a few trades you know the drill. In this article I will show you a way to make your oscillator-type indicators make clear black-or-white indication of the time to buy or sell. I will do this by using the Inverse Fisher Transform to alter the Probability Distribution Function (PDF) of your indicators. In the past 12 I have noted that the PDF of price and indicators do not have a Gaussian, or Normal, probability distribution. A Gaussian PDF is the familiar bell-shaped curve where the long tails mean that wide deviations from the mean occur with relatively low probability. The Fisher Transform can be applied to almost any normalized data set to make the resulting PDF nearly Gaussian, with the result that the turning points are sharply peaked and easy to identify. The Fisher Transform is defined by the equation 1) 1 x y 0.5*ln 1 x Whereas the Fisher Transform is expansive, the Inverse Fisher Transform is compressive. The Inverse Fisher Transform is found by solving equation 1 for x in terms of y. The Inverse Fisher Transform is: 2 y e 1 2) x 2 y e 1 The transfer response of the Inverse Fisher Transform is shown in Figure 1. If the input falls between 0.5 and +0.5, the output is nearly the same as the input. For larger absolute values (say, larger than 2), the output is compressed to be no larger than unity. The result of using the Inverse Fisher Transform is that the output has a very high probability of being either +1 or 1. This bipolar probability distribution makes the Inverse Fisher Transform ideal for generating an indicator that provides clear buy and sell signals. 1 John Ehlers, Using the Fisher Transform, Stocks & Commodities, November 2002, page 40 2 John Ehlers, Cybernetic Analysis for Stocks and Futures, John Wiley, Chapter 1

Figure 1. Transfer Response of the Inverse Fisher Transform Compresses the Output to be Between 1 and +1 One of the more popular technical indicators is a Stochastic RSI. This indicator starts by taking an RSI of price. Then, a Stochastic of that RSI is taken to limit the output to be between 0 and 100. Translating and scaling, this is mathematically the same as varying between 1 and +1. Now that you know about the Inverse Fisher Transform, there is no reason to bludgeon the RSI with a blunt instrument like a Stochastic. Instead of picking an observation length that is guaranteed to drive the Stochastic to saturation, you can finesse the indicator PDF using the Inverse Fisher Transform. The EasyLanguage code to do this is given in Figure 2. The 5 bar RSI varies from a minimum of 0 and a maximum of 100. The 5 bar length of the RSI was selected to provide good operation when applied to many price series. The RSI period is certainly available for optimization. By subtracting 50, the RSI indicator is translated to range from 50 to +50. Then, multiplying by 0.1 reduces the range to be between 5 and +5 for Value1. This is just the kind of maximum swing suited for the Inverse Fisher Transform. I used a 9 bar weighted moving average to compute Value2 to smooth Value1 and ultimately remove some spurious trading signals. There is no magic in this average. It could have fewer bars to have less lag or it could be an Exponential Moving Average. Its function is just to be a smoother. The transform is calculated as the variable IFish and then plotted. The code also plots output reference lines at 0.5 and +0.5.

Vars: IFish(0); Value1 =.1*(RSI(Close, 5) - 50); Value2 = WAverage(Value1, 9); IFish = (ExpValue(2*Value2) - 1) / (ExpValue(2*Value2) + 1); Plot1(IFish, "IFish"); Plot2(0.5, "Sell Ref"); Plot3(-0.5, "Buy Ref"); Figure 2. EasyLanguage Code to Take the Inverse Fisher Transform of an RSI The transformed RSI is applied to the Exchange Traded Fund (ETF) QQQ in Figure 3. I demonstrate the Inverse Fisher Transform using ETFs because they can be bought long or sold short with equal facility just like Futures. The trading rules are simple. Buy when the indicator crosses over 0.5 or crosses over +0.5 if it has not previously crossed over 0.5 and to sell short when the indicators crosses under +0.5 or crosses under 0.5 if it has not previously crossed under +0.5. You can see that the trading signals are not only clear and unequivocal, but they are also profitable. Figure 3. Inverse Fisher RSI Clear and Profitable Signals The use of the Inverse Fisher Transform is not limited to just altering the RSI PDF. It can be applied to almost any oscillator-type indicator. For example, my simplified model of the market consists of a trend component and a cycle

component. The cycle component can be isolated by filtering. I call it the Cyber Cycle. Like the RSI, the Cyber Cycle is an oscillator-type indicator. Unlike the RSI, the Cyber Cycle has cyclic swings with variable amplitude. Ensuring the cyclic swings of the Cyber Cycle has sufficient amplitude to allow the Inverse Fisher Transform to invoke its compression, an excellent indicator can result. For example, Figure 4 is the EasyLanguage code for the Cyber Cycle followed by the Inverse Fisher Transform. Inputs: Price((H+L)/2), alpha(.07); Vars: Smooth(0), Cycle(0), ICycle(0); Smooth = (Price + 2*Price[1] + 2*Price[2] + Price[3])/6; Cycle = (1 -.5*alpha)*(1 -.5*alpha)*(Smooth - 2*Smooth[1] + Smooth[2]) + 2*(1 - alpha)*cycle[1] - (1 alpha)*(1 - alpha)*cycle[2]; If currentbar < 7 then Cycle = (Price - 2*Price[1] + Price[2]) / 4; ICycle = (ExpValue(2*Cycle) - 1) / (ExpValue(2*Cycle) + 1); Plot1(ICycle, "Cycle"); Plot2(0.5, "Sell Ref"); Plot3(-0.5, "Buy Ref"); Figure 4. EasyLanguage Code for the Cyber Cycle with the Inverse Fisher Transform The pure Cyber Cycle indicator for the SPY ETF is shown in the first subgraph of Figure 5. The variable amplitude cyclic swings are obvious. One can trade the Cyber Cycle using the crossing of the indicator and the indicator delayed by one bar. The transformed result is shown in the second subgraph of Figure 5. As with the Transformed RSI, the buy and sell signals are clear and unambiguous. The Inverse Fisher Transform can be applied with equal success to virtually all oscillator-type indicators.

Figure 5. Good Trading Signals Arise from Applying the Inverse Fisher Transform to the Cyber Cycle Indicator The Inverse Fisher Transform has even wider potential applications. Since the transformed waveform is limited to the range between 1 and +1, total energy in the wave is limited. I am particularly intrigued that convergence is guaranteed in some linear predictive algorithms when the energy in the wave is limited. Thus research may reveal still more exciting new results for traders. More importantly, for the present, I have shown how using the Inverse Fisher Transform can let you have greater confidence (and perhaps uncross your fingers) when you place your trades.