SMA 20 ascendante en séance sur screener Heikin Ashi

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #258679 quote
    HUGO LEVIEILSHUGO LEVIEILS
    Participant
    Senior

    Bonjour,

    Quelqu’un peu si possible rajouter a ce code, la SMA 20 Ascendante en séance.

    Merci d’avance

    Cordialement


    IF BarIndex = 0 THEN

    haClose = Close

    haOpen = Open

    ELSE

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

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

    ENDIF


    cHA = haClose > haOpen


    myTenkan = TenkanSen[9, 26, 52]

    cTenkan = myTenkan > myTenkan[1]


    mySMA = Average[7](Close)

    cSMA = mySMA > mySMA[1]


    mySAR = SAR[0.02, 0.02, 0.2]

    cSAR = Close > mySAR and close[1]<mysar[1]


    SCREENER[cHA AND cTenkan AND cSMA AND cSAR]

    #258688 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Voici le code modifié (qui n’utilise PAS les bougies HA pour certains indicateurs et conditions) :

    IF BarIndex = 0 THEN
       haClose = Close
       haOpen = Open
    ELSE
       haClose = (Open + High + Low + Close) / 4
       haOpen = (haOpen[1] + haClose[1]) / 2
    ENDIF
    cHA = haClose > haOpen
    myTenkan = TenkanSen[9, 26, 52]
    cTenkan = myTenkan > myTenkan[1]
    mySMA = Average[7](Close)
    cSMA = mySMA > mySMA[1]
    mySAR = SAR[0.02, 0.02, 0.2]
    cSAR = Close > mySAR and close[1]<mysar[1]
    Sma20 = average[20,0](Close)
    Sma   = Sma20 > Sma20[1]
    SCREENER[cHA AND cTenkan AND cSMA AND cSAR AND Sma]
    
    HUGO LEVIEILS thanked this post
    #258689 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Voici le code modifié (qui utilise des bougies HA) :

    IF BarIndex = 0 THEN
       haClose = Close
       haOpen = Open
    ELSE
       haClose = (Open + High + Low + Close) / 4
       haOpen = (haOpen[1] + haClose[1]) / 2
    ENDIF
    cHA = haClose > haOpen
    myTenkan = TenkanSen[9, 26, 52]
    cTenkan = myTenkan > myTenkan[1]
    mySMA = Average[7](haClose)
    cSMA = mySMA > mySMA[1]
    mySAR = SAR[0.02, 0.02, 0.2]
    cSAR = haClose> mySAR and haClose[1]<mysar[1]
    Sma20 = average[20,0](haClose)
    Sma   = Sma20 > Sma20[1]
    SCREENER[cHA AND cTenkan AND cSMA AND cSAR AND Sma]
    
    HUGO LEVIEILS thanked this post
    #258697 quote
    HUGO LEVIEILSHUGO LEVIEILS
    Participant
    Senior

    Merci Roberto

    c’est Sympa 🙏

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

SMA 20 ascendante en séance sur screener Heikin Ashi


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by HUGO LEVIEILSHUGO LEVIEILS
7 months, 3 weeks ago.

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