Convertir un indicateur RSI de tradingview vers prorealtime

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

    Bonjour je ne suis que débutant en programmation et ne sais pas encore convertir un code de tradingview vers prorealtime.

    C’est pour cela que je créer ce poste en espérant que quelqu’un puisse le convertir pour moi.

    Alors voilà la page de l’indicateur en question : https://www.tradingview.com/script/xOm7jSPf-CM-RSI-2-Strategy-Lower-Indicator

    Et voici le code de l’indicateur sur trading view :

    //Created by ChrisMoody
    //Based on Larry Connors RSI-2 Strategy - Lower RSI
    study(title="_CM_RSI_2_Strat_Low", shorttitle="_CM_RSI_2_Strategy_Lower", overlay=false)
    src = close, 
    
    //RSI CODE
    up = rma(max(change(src), 0), 2)
    down = rma(-min(change(src), 0), 2)
    rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
    //Criteria for Moving Avg rules
    ma5 = sma(close,5)
    ma200= sma(close, 200)
    
    //Rule for RSI Color
    col = close > ma200 and close < ma5 and rsi < 10 ? lime : close < ma200 and close > ma5 and rsi > 90 ? red : silver
    
    plot(rsi, title="RSI", style=line, linewidth=4,color=col)
    plot(100, title="Upper Line 100",style=line, linewidth=3, color=aqua)
    plot(0, title="Lower Line 0",style=line, linewidth=3, color=aqua)
    
    band1 = plot(90, title="Upper Line 90",style=line, linewidth=3, color=aqua)
    band0 = plot(10, title="Lower Line 10",style=line, linewidth=3, color=aqua)
    fill(band1, band0, color=silver, transp=90)
    #31531 quote
    Nicolas
    Keymaster
    Master

    C’est indicateur est un RSI période 2. Je te conseil de faire une recherche sur “Larry Connors” avec le module de recherche du site, tu trouveras sans doute pas mal de résultats au sujet de la fameuse stratégie RSI2 ou même 3.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Convertir un indicateur RSI de tradingview vers prorealtime


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
David01 @david01 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
8 years, 10 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/09/2017
Status: Active
Attachments: No files
Logo Logo
Loading...