FISHER RSI ON CHART

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #194634 quote
    supertiti
    Participant
    Master

    Bonsoir á tous

    Une bonne âme pour transformer ce Fisher RSI afin qu’on puisse le coller sur le graphe prix

    merci pour votre aide, bon week-end

     

    // FISHER RSI
    
    defparam calculateonlastbars = 100
    
    // FISHER TRANSFORM DE JOHN EHLERS
    a1= customclose // par défaut medianpriace
    b1= highest[p](high)
    b2=lowest[p](low)
    if b1-b2 <> 0 then
     
    v1 =(((a1 -b2) / (b1 - b2) )- 0.5)*2*0.33
    else
    v1=(-0.5)*2*.33
    endif
    v2 = 0.67*v1[1]
    v3 = v1 + v2
    v33=min(0.999, max(v3,-0.999))
    if barindex >p then
      
    f1 =  ( 0.5*0.5*log((1+v33)/(1-v33) ) + 0.5*f1[1] )
     
    endif
    
    // VARIABLE =P (nombre de périodes) par défaut =10
    
    
    Return f1 as " Fisher RSI "
    #194662 quote
    Vaiana
    Participant
    New

    Salut supertiti, c’est quoi un “Fisher” ?

    #194677 quote
    supertiti
    Participant
    Master
    #194680 quote
    supertiti
    Participant
    Master
    #194681 quote
    supertiti
    Participant
    Master
    #194685 quote
    robertogozzi
    Moderator
    Master

    Faites une copie de votre indicateur, puis remplacez ce code par ce qui suit :

    // FISHER RSI
     
    defparam calculateonlastbars = 100
    
    // FISHER TRANSFORM DE JOHN EHLERS
    a1= customclose // par défaut medianpriace
    b1= highest[p](high)
    b2=lowest[p](low)
    if b1-b2 <> 0 then
     
    v1 =(((a1 -b2) / (b1 - b2) )- 0.5)*2*0.33
    else
    v1=(-0.5)*2*.33
    endif
    v2 = 0.67*v1[1]
    v3 = v1 + v2
    v33=min(0.999, max(v3,-0.999))
    if barindex >p then
      
    f1 =  ( 0.5*0.5*log((1+v33)/(1-v33) ) + 0.5*f1[1] )
     
    endif
     
    // VARIABLE =P (nombre de périodes) par défaut =10
    
    FisherRSI = close + (close * f1 / 100)
     
    Return FisherRSI AS "Fisher RSI"//f1 as " Fisher RSI "

    Évidemment, vous n’obtenez PAS les mêmes valeurs, étant liées au prix, mais la courbe est presque identique et peut vous donner une vue valable.
    Je ne pense pas qu’il soit possible de faire plus car l’indicateur et le prix ont des échelles différentes.

    #194712 quote
    supertiti
    Participant
    Master

    Merci beaucoup Roberto, ton code me va très bien, j’ai rajouté une moyenne pour adoucir le Fisher RSI.

    p1 = pour la période de la moyenne

    m = pour le type de moyenne mobile utilisée

    ////////////////////////////////////////////////////////////////////////////

    MA = average [p1,m](FisherRSI)

    Return FisherRSI AS “Fisher RSI on chart ” , MA as “MARSI”//f1 as ” Fisher RSI ”

     

    // VARIABLES

    // P (nombre de périodes) par défaut =10

    // p1 = periode moyenne Fisher RSI =  choix personnel

    // m = type de moyenne mobile  =  choix personnel

    Je joins un graphe de BNP avec prix, Fisher RSI et moyenne Fisher RSI

    Bonne fin de journée

    FISHER-RSI-on-chart-BNP.jpg FISHER-RSI-on-chart-BNP.jpg
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

FISHER RSI ON CHART


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

This topic contains 6 replies,
has 3 voices, and was last updated by supertiti
3 years, 9 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 06/04/2022
Status: Active
Attachments: 1 files
Logo Logo
Loading...