Code Wiliams% points retournement.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #129566 quote
    helie2m
    Participant
    New

    Bonjour,

    Je suis utilisateur de ProRealTime mais je ne sais pas coder.

    Je cherche un code, assez simple je pense, a utiliser sur le Williams % (12) qui permettrai de mettre en évidence a l’aide d’un point vert sur la pointe quand le William est en survente (a partir de -82) et rouge quand il est en sur-achat ( +18). Ceci de manière a rendre plus visuelle les potentiels retournement de tendance. J’ai beaucoup d’amis Trader qui utilise ce code sur TradingView, j’ai cherché dans l’annuaire de code et ne l’ai pas trouvé.

     

    Je met en pièce jointe une image de trading view où ce code est mis en place de manière a expliciter mon propos.

     

    Je vous remercie par avance pour votre aide.

    Bien à vous.

    Hélie.

    95723415_553452105593152_9072772904155873280_n.jpg 95723415_553452105593152_9072772904155873280_n.jpg
    #129754 quote
    Nicolas
    Keymaster
    Master

    Ci-joint le code de l’indicateur selon ma compréhension de la demande.

    w = Williams[12](close)
    top = w<w[1] and w[1]>w[2] and w>-20
    bot = w>w[1] and w[1]<w[2] and w<-80
    
    if top then 
    drawtext("●",barindex[1],w[1],dialog,bold,20) coloured(0,255,0,100)
    elsif bot then 
    drawtext("●",barindex[1],w[1],dialog,bold,20) coloured(255,0,0,100)
    endif
    
    return w,-20,-80
    
    
    retournement-williams-r.png retournement-williams-r.png
    #132180 quote
    helie2m
    Participant
    New

    Parfait, merci beaucoup pour votre aide.

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

Code Wiliams% points retournement.


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
helie2m @helie2m Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by helie2m
5 years, 9 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 05/03/2020
Status: Active
Attachments: 2 files
Logo Logo
Loading...