William %R

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12526 quote
    PlscapPlscap
    Participant
    Veteran

    Bonjour à tous,

    Est ce que par hasard l’un d’entre vous connaitrais

    le code du William %R sur PRT?

     

    Merci à tous.

    #12541 quote
    NicolasNicolas
    Keymaster
    Legend

    Bonjour, il existe une instruction du langage pour récupérer la valeur du Williams % :
    http://www.prorealcode.com/documentation/williams/

    A moins que tu aies besoin de la formule?

    #12543 quote
    PlscapPlscap
    Participant
    Veteran

    Bonjour Nicolas,

    Je te remercie pour ta réponse,

    J’avais lu cette doc, et en effet j’aurai eu besoin de la formule/code sur PRT.

    Bien qu’il est déjà par défaut sur PRT, j’aurai souhaité voir à quoi ressemblait le code.

    #12552 quote
    NicolasNicolas
    Keymaster
    Legend

    Très bien, la formula est simple et ressemble beaucoup à un stochastique, comme pour beaucoup d’oscillateur borné on cherche le centre du prix et ainsi déterminer ses extrêmes souvent appelés zone de sur-achat et zone de sur-vente.

    Ci-joint le code et l’indicateur attaché.

    //PRC_WilliamsRpercent
    //01.09.2016
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    period = 14
    
    hh = highest[period](high)
    ll = lowest[period](low)
    
    Wp = ((hh-close)/(hh-ll))*-100
    
    return Wp as "Williams R percent", -20 as "-20 level", -80 as "-80 level"
    williams-R-percent-formula.gif williams-R-percent-formula.gif Williams-R-percent-prorealtime.png Williams-R-percent-prorealtime.png
    #12573 quote
    PlscapPlscap
    Participant
    Veteran

    Bonjour Nicolas,

    Un grand merci pour ton aide,

    c’est bien le code que je recherchais.

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

William %R


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Plscap @flodefacebook Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by PlscapPlscap
10 years ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 08/31/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...