ATR[14] variation sur 40 séances

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #197192 quote
    mcth01mcth01
    Participant
    New

    Bonjour,

    Je cherche à réaliser un screener avec ATR[14]. J’aimerais savoir si cela est possible de faire un taux de variation:

    atr=highest[40] AverageTrueRange[14]/lowest[40]AverageTrueRange[14] -1 *100

    screener[atr]

     

    Merci d’avance,

    Bien cordialement

    #197195 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bjr, oui mais il manque des parenthèses avec highest et lowest:

    atr= ( highest[40](AverageTrueRange[14]) / lowest[40](AverageTrueRange[14]) -1 )*100
    
    screener[atr](atr)
    #197226 quote
    mcth01mcth01
    Participant
    New

    Merci beaucoup,

    Passe une bonne journée 🙂

    JC_Bywan thanked this post
    #197364 quote
    mcth01mcth01
    Participant
    New

    Re Bonjour,

    J’ai testé cela fait assez bien , le job.

    Toutefois, il semblerait que ce que je veux c’est cela :

    periode=22
    tri=(close/Close[periode]-1)*100

    Mais avec l’ATR[14]  a la place de close.  Il s’agit de quelque chose comme cela:

    ( (AverageTrueRange[14]) / (AverageTrueRange[14][22]) -1 )*100

    Je ne suis pas certain de l’écriture du code. (il y a un exemple en PJ)

     

    Pourrais tu m’aider s’il te plaît ?

    Merci d’avance

    Exemple-Pro-realtime.png Exemple-Pro-realtime.png
    #197369 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonjour,

    periode=22
    myatr=AverageTrueRange[14](close)
    tri=(myatr/myatr[periode]-1)*100
    
    screener[tri](tri)
    #197381 quote
    mcth01mcth01
    Participant
    New

    Merci beaucoup 🙂

Viewing 6 posts - 1 through 6 (of 6 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

ATR[14] variation sur 40 séances


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
mcth01 @mcth01 Participant
Summary

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

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 07/12/2022
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...