Screener a Modifier : Supprimer le Sar => Le remplacer par SuperTrend

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

    Bonjour,

    Quelqu’un peu si possible, Modifier le code ?

    (1) Supprimé le Sar Inversé en séance

    (2) et le remplacer par le Supertrend Inversé en Séance

    et Merci pour votre Travail

    Voilà le code


    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]

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

    Bonjour!

    Il vous suffit de remplacer les pièces SAR et de contrôle par ceci :

    // Supertrend inversé (remplace le SAR)
    myST = Supertrend[3, 10]
    cST = Close > myST AND Close[1] < myST[1]
    
    
    SCREENER[cHA AND cTenkan AND cSMA AND cST]
    


    robertogozzi thanked this post
    #258793 quote
    HUGO LEVIEILSHUGO LEVIEILS
    Participant
    Senior

    Merci Ivan 🙏

    Bonne journée à vous

Viewing 3 posts - 1 through 3 (of 3 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 a Modifier : Supprimer le Sar => Le remplacer par SuperTrend


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 2 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/06/2026
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...