Fisher Transform applied to Stochastics

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #177019 quote
    Alfy
    Participant
    Average

    Good afternoon guys, I’m trying to apply the Fisher Transform to 3 stochastics. Someone has already kindly posted the Fisher transform code which I’ve also posted here but i don’t know how to apply it to the % K stochastics lines. I’m looking to apply it to the stochastics (5,3), (8/5) and (17/5). Any help you can give me is much appreciated.

    Best wishes

    IF BARINDEX < 5 THEN
         
    value1 = 0
    fish = 0
         
    ELSE
         
    MaxH = Highest[5](MEDIANPRICE)
    MinL = Lowest[5](MEDIANPRICE)
    Value1 = ( (MEDIANPRICE - MinL)/(MaxH - MinL) - .5) + .67 * Value1
         
    If Value1 > .99 then
    Value1 = .999
    ENDIF
         
    If Value1 < -.99 then
    Value1 = -.999
    ENDIF
         
    Fish = 0.5*Log((1 + Value1)/(1 - Value1)) + .5 * Fish
    Trigger=fish[1]
         
    a=1.2
    b=-1.2
         
    ENDIF
     
    RETURN Fish,Trigger,a,b
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Fisher Transform applied to Stochastics


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Alfy @alfy Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 09/08/2021
Status: Active
Attachments: No files
Logo Logo
Loading...