convergences emas

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

    Bonjour, j’ai vu sur une autre plateforme une idée pas mal qui colorié le fond en vert ou rouge par rapport à la convergence de deux moyennes mobiles exponentielles.

    Par exemple, si j’ai la moyenne mobile exponentielle 15 en hausse et la 60 aussi ça colorie le fond pour donner l’indicateur de la direction….Je screen une image en entourant les moyennes mobiles….

    #240197 quote
    JC_Bywan
    Moderator
    Master

    Bonjour,

    à tester (en l’ajoutant dans la fenêtre du prix, pas en fenêtre séparée sous le prix)

     

    ema15=Average[15](close)
    ema60=Average[60](close)
    
    h15=ema15>ema15[1]
    h60=ema60>ema60[1]
    
    if h15 and h60 then
    r=0
    v=250
    t=100
    elsif not h15 and not h60 then
    r=250
    v=0
    t=100
    else
    t=0
    endif
    
    BACKGROUNDCOLOR(r,v,0,t)
    
    return
    Iván González thanked this post
    #240202 quote
    Atemi19
    Participant
    New

    C’est nickel merci….

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

convergences emas


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Atemi19 @atemi19 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Atemi19
1 year, 2 months ago.

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