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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #258789 quote
    HUGO 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ález
    Moderator
    Master

    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 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.

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 LEVIEILS
4 hours, 58 minutes ago.

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