OSI RSI id

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #161082 quote
    AK27
    Participant
    Junior
    //@version=4
    study("bibi OHO", shorttitle="bibi OH", format=format.price, precision=2, resolution="")
    // Repères H
    obPlot = hline(-20, title="Upper Band", color=#FF5555)
    hline(-50, title="Middle Level", linestyle=hline.style_dotted, color=#606060)
    osPlot = hline(-80, title="Lower Band", color=#55FF55)
    // Oscillateur
    length = input(title="Length", type=input.integer, defval=12)
    src = input(close, "Source", type = input.source)
    _pr(length) =>
        max = highest(length)
        min = lowest(length)
        100 * (src - max) / (max - min)
    percentR = _pr(length)
    // BB
    [middle, upper, lower] = bb(percentR, 9, 0.2)
    plot(middle, color=#2255EE, linewidth=2)
    plot(upper, color=#EE7755, linewidth=2)
    plot(lower, color=#EE7755, linewidth=2)
    fill(obPlot, osPlot, title="Background", color=color.new(#777777, 90))
    plot(percentR, title="%R", color=#DDFF00, linewidth=3, transp=0)

    Bonjour j’ai trouvé cet indicateur sur trading view qui me va très bien mais je suis sur PRT qqn est capable de le rendre compatible ? Merci d’avance ! Vous êtes trop fort les mecs !

    #161084 quote
    Nicolas
    Keymaster
    Master

    A la lecture du code il me semble qu’il s’agit de Bandes de Bollinger sur un WilliamsR%. Merci de poster une image, cela aidant à la conversion à l’identique

    et d’utiliser ce formulaire pour la demande de conversion la prochaine fois: https://www.prorealcode.com/free-code-conversion/

    #161085 quote
    AK27
    Participant
    Junior

    Oups sorry je n’avais pas vu le forum conversion… nul

    Capture-décran-2021-02-11-à-14.23.52.png Capture-décran-2021-02-11-à-14.23.52.png
    #161087 quote
    Nicolas
    Keymaster
    Master

    Par ailleurs, merci de faire des phrases pour les titres de sujets, ça n’aide personne, même si en effet: “OSI RSI id” ça fait bien 10 lettres et 3 mots 🙄

    AK27 thanked this post
    #161088 quote
    AK27
    Participant
    Junior

    Ok c’est noté 🙂

    #161092 quote
    Nicolas
    Keymaster
    Master

    Comme indiqué, il n’est pas utile de le recoder, il faut ajouter un Williams R% de période 12 et lui ajouter des bandes de Bollinger, période 9 et Ecart type à 0.2 (voir image).

    AK27 thanked this post
    williams-r-percent-and-bollinger-bands.png williams-r-percent-and-bollinger-bands.png
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

OSI RSI id


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
AK27 @punch1 Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by Nicolas
5 years, 1 month ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/11/2021
Status: Active
Attachments: 2 files
Logo Logo
Loading...