Screener pour Stoch RSI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #193716 quote
    Pascal11
    Participant
    New

    Bonjour,

    Je souhaiterais créer un screener pour l’indicateur Stoch RSI.

    Cet indicateur n’est pas référencé dans ProScreener.

    Je voudrais un screener avec les paramètres 20 périodes, typical et 50 périodes, typical, au-dessus de la ligne 80.

    Est-ce que quelqu’un pourrait m’aider ?

    Merci d’avance

    #193717 quote
    JC_Bywan
    Moderator
    Master

    Basé sur le code de Nicolas dans la library du site: https://www.prorealcode.com/prorealtime-indicators/stochastic-rsi/

    En supposant que 20 est pour la période RSI et 50 pour stoch, sinon inverser.

    Il manquerait le lissage? Mis smoothK=10, modifier si besoin.

    //https://www.prorealcode.com/prorealtime-indicators/stochastic-rsi/
    
    lengthRSI = 20 //RSI period
    lengthStoch = 50 //Stochastic period
    
    smoothK = 10 //Smooth signal of stochastic RSI
    //smoothD = 3 //Smooth signal of smoothed stochastic RSI
    
    myRSI = RSI[lengthRSI](typicalprice)
    MinRSI = lowest[lengthStoch](myrsi)
    MaxRSI = highest[lengthStoch](myrsi)
    
    StochRSI = (myRSI-MinRSI) / (MaxRSI-MinRSI)
    
    K = average[smoothK](stochrsi)*100
    //D = average[smoothD](K)
    
    c= (K>=80)
    
    screener[c]
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Screener pour Stoch RSI


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Pascal11 @pascal11 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_Bywan
3 years, 9 months ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 05/23/2022
Status: Active
Attachments: No files
Logo Logo
Loading...