Screener ProRealTime avec SMA 200 ascendante sur Heikin Ashi

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #258865 quote
    HUGO LEVIEILSHUGO 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álezIván González
    Moderator
    Legend

    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 LEVIEILSHUGO 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álezIván González
    Moderator
    Legend

    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 LEVIEILSHUGO LEVIEILS
    Participant
    Senior

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

    Cordialement

    #258884 quote
    Iván GonzálezIván González
    Moderator
    Legend

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


    #258890 quote
    HUGO LEVIEILSHUGO LEVIEILS
    Participant
    Senior

    la sma en cours

    et pas en cloture de bourse

    #258894 quote
    HUGO LEVIEILSHUGO LEVIEILS
    Participant
    Senior

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

    #258896 quote
    NicolasNicolas
    Keymaster
    Legend

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

    HUGO LEVIEILS thanked this post
    #258898 quote
    HUGO LEVIEILSHUGO 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.
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

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 LEVIEILSHUGO LEVIEILS
7 months, 2 weeks ago.

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