Stochastique rsi

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #64829 quote
    ghary
    Participant
    Veteran

    bonjour est il possible d’avoir le code du stochastique rsi qu’il y a sur prorealtime afin de l’intégrer dans un indicateur. Car on ne peut le récupérer dans la liste indicateur lorsqu’on veut faire appel à un indicateur de la plateforme.

     

    Merci.

    #64830 quote
    Nicolas
    Keymaster
    Master

    La fonction recherche du site est vraiment très utile ! Hop le premier résultat : https://www.prorealcode.com/prorealtime-indicators/stochastic-rsi/

    #64831 quote
    ghary
    Participant
    Veteran

    Bonjour Nicolas

    je l’ai trouvé cette indicateur mais ce n’est pas le même que celui de la plateforme prorealtime.

    #65364 quote
    Nicolas
    Keymaster
    Master

    En fait c’est bien le même, il suffit de changer les périodes:

    //PRC_Stochastic RSI | indicator
    //06.12.2016
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //converted and adapted from Pinescript version
    
    lengthRSI = 14 //RSI period
    lengthStoch = 14 //Stochastic period
    smoothK = 1 //Smooth signal of stochastic RSI
    
    myRSI = RSI[lengthRSI](close)
    MinRSI = lowest[lengthStoch](myrsi)
    MaxRSI = highest[lengthStoch](myrsi)
    
    StochRSI = (myRSI-MinRSI) / (MaxRSI-MinRSI)
    
    K = average[smoothK](stochrsi)*100
    
    
    return K as "K%"
    stochastique-rsi.png stochastique-rsi.png
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Stochastique rsi


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
ghary @ghary Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Nicolas
7 years, 11 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 03/08/2018
Status: Active
Attachments: 1 files
Logo Logo
Loading...