Fisher Transform

Fisher Transform

The Fisher Transform attempts to be a major turning point indicator.

Parameters

Length (Len = 13)

O/B (a = 5)

O/S (b = -5)

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. iioixi • 10/12/2015 #

    Value1 = ( (MEDIANPRICE – MinL)/(MaxH – MinL) – .5) + .67 * Value1
    Please explain the meaning of this line formula. Why is it different from the original? The original formula is to format the oscillation + – 1 and filter it with equation
    EMA = alpha * close + (1 – alpha) * EMA[1];

    • Nicolas • 10/12/2015 #

      FYI, other Fisher related posts: (and with other fisher transform method): https://www.prorealcode.com/tag/fisher/

  2. SB-FO • 10/12/2015 #

    Question for Nicolas or others. Should the Fisher Transformer price / bar be based on MEDIANPRICE as above, or Typically Price?

    Thanks for your help, Stuart

    • Nicolas • 10/12/2015 #

      Use the data serie you want. Replace MEDIANPRICE by TYPICALPRICE in the above code.

  3. SB-FO • 10/12/2015 #

    Thanks Nicolas. While I understand I can use either Median or Typical (Price), the question was which is correct or perhaps better to use?

    • Nicolas • 10/12/2015 #

      I don’t know. MedianPrice (exact mid price of the candlestick) tends to be smoother than TypicalPrice.

  4. SB-FO • 10/12/2015 #

    Good to know and thank you.

    Oh, on this indicator, how do I change the range from 5/-5 to 1/-1?

  5. SB-FO • 10/12/2015 #

    Nicolas, on the Trigger formula, Trigger=fish[1] , is that mean it is using linear / moving linear regression of 1 of Fish, or something else? I don’t understand what the [1] mean /do.

    Fish = 0.5*Log((1 + Value1)/(1 – Value1)) + .5 * Fish

    Thank you for the help understanding this.
    Trigger=fish[1]

    • Nicolas • 10/12/2015 #

      Trigger is just the value of fish of the previous bar, the blue line.

  6. SB-FO • 10/12/2015 #

    Ah ha. So FISH – 1 so to speak. I would have thought that would have been coded as [-1].

    I have played with a SMA of 4 for the trigger on D charts and it seems nicely profitable. When I back-test standard it losses money. Hence why i was trying to figure it out. I need to back-test 4H time frames.

    Thank you for your help.

    Stuart

  7. SB-FO • 10/12/2015 #

    Nicolas, sorry to bother you again. In trying to turn this indicator into a strategy in PRT I am doing something wrong. I had assumed Len is Length of Fish. When i back best in PRT, it does not make a trade, or no second trade. Can you PLEASE advise? I have copies the code below.

    DEFPARAM CumulateOrders = True // Cumulating positions activated
    capital = 100000 + strategyprofit
    Equity = capital / close
    myCurrentProfit = STRATEGYPROFIT

    Len = 9

    IF BARINDEX .99 then
    Value1 = .999
    ENDIF

    If Value1 < -.99 then
    Value1 = -.999
    ENDIF

    Fish = 0.5*Log((1 + Value1)/(1 – Value1)) + .5 * Fish
    Trigger = Average[4](close)

  8. SB-FO • 10/12/2015 #

    Found my mistake, should have been Trigger = Average[4](Fish)

  9. Derek • 10/12/2015 #

    In line 10 there is a value missing for the calculation. You can cross check it here on page 4: https://www.mesasoftware.com/papers/UsingTheFisherTransform.pdf
    Line 10 should be:
    Value1 = (.66* ((MEDIANPRICE – MinL)/(MaxH – MinL) – .5)) + .67 * Value1

  10. Coldtrade • 10/12/2015 #

    Hello. I’m new to programming and don’t understand the algebraic meaning of the formula:
    Value1 = (.66 * ((MEDIANPRICE – MinL) / (MaxH – MinL) – .5)) + .67 * Value1
    Isn’t that like saying A = B + n * A?
    Something substantial escapes me, thanks to those who want to help me.

  11. Derek • 10/12/2015 #

    You are right, There is something odd with this line of code. It should be
    A = B + n * A[1].
    So, there are two things missing in line 10.
    Ps. Sorry for the late reply

avatar
Register or

Likes

avatar avatar
Related users ' posts
zilliq Be careful, It works only if you are in daily timeframe, and on your graphic you are on hou...
DerPat I guess you are right, like always. If you change n to 24 you have at least the hours of a d...
gabri DerPat, you can also change line1 to read as follow to adapt this script to hourly timefram...
supertiti
9 years ago
Nicolas
9 years ago
ALMA MACD
ALMA MACD
7
Indicators
Arnaud HALVICK Great indicator, thank you!
JMat45 Hi Nicolas, just reviewing this indicator and noticed that you have double assigned the vari...
Nicolas That would not make any difference because the code is read from top to bottom.
Pere
9 years ago
Low-High Bands
Low-High Bands
5
Indicators
supertiti Hola Petrus Estas aficionado de vino para tener este mote ? El canal de donchian es la bas...
Petrus Hombre, no te diré que no me guste el vino, y en especial éste, pero aún me faltan muchos tr...
Petrus Saludos desde Barcelona!
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  
Conte Caimano
9 years ago
Butterworth Filter
Butterworth Filter
7
Indicators
Nicolas Do I need to change the code accordingly to your formula?
StefanoCG ciao Fabio ... non hai mica tutti i torti ... la notte bisognerebbe dormire per non scrivere...
Nicolas
9 years ago
Nicolas You will find the VWAP code from PRT here: https://www.prorealcode.com/topic/is-there-any-wo...
keks Thanks for sharing this wonderful code. Is there a way to draw a horizontal line to plot pre...
taklause Hello, just one question, can it be that this indicator does not work on ProRealTime v12? T...
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...
Nicolas
9 years ago
Williams Percent %R
Williams Percent %R
4
Indicators
Nicolas Thank you but no sorry. Still have some trouble with the comments system. I will fix it soon.
Manuel Cerbi Come posso modificare il codice in modo da poter cambiare a piacimento il numero di periodi?...
Geronima Ortiz period = 14 a posto di 14 scrivi np poi crei una variabile con lo stesso nome
roos Hi Nicolas, another really helpful bit of code, thank you! Can I ask how you might amend so ...
Denis Good evening Nicolas, could you tell me where thae arrows on the chart come from ? I don't s...
Nicolas there is no arrow in this indicator.
bluetime6 Hello Doctrading.   Can you ask you for something? Can you code a screener screen po...
Nicolas
9 years ago
Suzu Yuk Hello, I am still getting the same error even after removing the // in front of the “myPe...
carlvan J'ai la même erreur. Pourtant ABS donne par définition un nombre positif
Nicolas Essayons de remplacer la ligne 27 par: averageperiod=max(round(averageperiod),2)
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.
gianlox I added a simple momentum indicator (MACD). I think much better results:   achat = 0v...
gianlox achat = 0 vente = 0 MACD12M = MACDline[12,26,9](close) MACD12S = ExponentialAverage[9](MA...
proreal82 Testing it out, and sorry guys but this indicator is ridiculous. Don't use it!
rama I have tested this indicator , this is one of the best indicator for scalping , I tested on ...
Regan2020 Hi Rama, I am using the indicator now, but it doesn't seem to form live time, and only indic...
Nicolas Non ça n'est pas encore possible.
Denis Merci Nicolas.
Yann LB Bonjour à tous, Est-il possible de rajouter un morceau de code qui permette d'afficher (s...

Top