Screener ProRealTime avec SMA 200 ascendante sur Heikin Ashi

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #258865 quote
    HUGO LEVIEILS
    Participant
    Senior

    Bonjour,

    Quelqu’un peut rajouter la SMA 200 Ascendante a ce code si possible ?

    Merci et bonne semaine 🙏


    IF BarIndex = 0 THEN

      haClose = Close

      haOpen = Open

    ELSE

      haClose = (Open + High + Low + Close) / 4

      haOpen = (haOpen[1] + haClose[1]) / 2

    ENDIF

    mySAR   = SAR[0.02, 0.02, 0.2]

    GreenSAR  = haClose > mySAR

    CrossSAR  = haClose CROSSES OVER mySAR

    myST    = Supertrend[3,10]

    GreenST  = haClose > myST

    CrossST  = haClose CROSSES OVER myST

    c1     = GreenSAR AND CrossST

    c2     = GreenST AND CrossSAR

    SCREENER[c1 OR c2]


    #258872 quote
    Iván González
    Moderator
    Master

    Voici le code avec la condition SMA 200 ascendante ajoutée :

    IF BarIndex = 0 THEN
    haClose = Close
    haOpen = Open
    ELSE
    haClose = (Open + High + Low + Close) / 4
    haOpen = (haOpen[1] + haClose[1]) / 2
    ENDIF
    
    
    mySAR    = SAR[0.02, 0.02, 0.2]
    GreenSAR = haClose > mySAR
    CrossSAR = haClose CROSSES OVER mySAR
    
    
    myST    = Supertrend[3, 10]
    GreenST  = haClose > myST
    CrossST  = haClose CROSSES OVER myST
    
    
    // SMA 200 ascendante
    myAvg   = Average[200](Close)
    smaUp   = myAvg > myAvg[1]
    
    
    c1 = GreenSAR AND CrossST AND smaUp
    c2 = GreenST AND CrossSAR AND smaUp
    
    
    SCREENER[c1 OR c2]
    





    robertogozzi thanked this post
    #258875 quote
    HUGO LEVIEILS
    Participant
    Senior

    Ivan,

    Peut tu modifier le code => Et mettre à la SMA 200 ascendante en séances

    Cordialement

    hugo

    #258877 quote
    Iván González
    Moderator
    Master

    Bonjour. Il est configuré pour être ascendant.

    // SMA 200 ascendante
    myAvg   = Average[200](Close)
    smaUp   = myAvg > myAvg[1]
    

    Si vous le souhaitez, vous pouvez remplacer [1] par [2] ou par [3] si vous souhaitez comparer avec des valeurs plus anciennes.

    HUGO LEVIEILS thanked this post
    #258882 quote
    HUGO LEVIEILS
    Participant
    Senior

    c’est bien la sma 200 en SÉANCE ?

    Cordialement

    #258884 quote
    Iván González
    Moderator
    Master

    Excusez-moi, mais je ne comprends pas ce que vous entendez par « SÉANCE ».


    #258890 quote
    HUGO LEVIEILS
    Participant
    Senior

    la sma en cours

    et pas en cloture de bourse

    #258894 quote
    HUGO LEVIEILS
    Participant
    Senior

    Je suppose que ça doit pas être le même code ?

    #258896 quote
    Nicolas
    Keymaster
    Master

    Ce screener utilise bien les données de la bougie en cours, donc en séance.

    HUGO LEVIEILS thanked this post
    #258898 quote
    HUGO LEVIEILS
    Participant
    Senior

    OK Merci, bonne soirée Nicolas

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

Screener ProRealTime avec SMA 200 ascendante sur Heikin Ashi


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 9 replies,
has 3 voices, and was last updated by HUGO LEVIEILS
7 hours, 41 minutes ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 03/09/2026
Status: Active
Attachments: No files
Logo Logo
Loading...