Screener Doji Heikin Ashi avec SAR inversé en séance

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

    Bonjour,

    Quelqu’un peu me modifier un code si possible ?

    C’est pour rajouter le sar inversé en séances

    voila le code

    merci d’avance 🙏


    //PRC_Doji Heikin Ashi | screener
    //10.01.2017
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    // --- parameters
    DojiSize = 5 //x% percent of body size compared to the complete range of the candlestick
    // ---
    
    if barindex>1 then
    haclose=(open+close+low+high)/4
    haopen=(haopen[1]+haclose[1])/2
    xHigh = Max(haOpen, haClose)
    xLow = Min(haOpen, haClose)
    hahigh = Max(High,xHigh)
    halow = Min(Low,xLow)
    endif
    
    data=(abs(haopen - haclose) <= (hahigh - halow) * DojiSize/100)
    
    red = haopen>haclose
    green = haclose>=haopen
    
    screener [data and green and red[1] and red[2] and red[3]]
    
    #258604 quote
    Iván González
    Moderator
    Master

    Bonjour, vous devrez ajouter ces lignes au code.

    // Parabolic SAR calculation (Standard parameters) 
    mySar = SAR[0.02, 0.02, 0.2] 
    // Condition for reversed SAR (Bullish reversal) 
    sarReversed = close CROSSES OVER mySar
    

    et enfin modifier le filtre pour ajouter la nouvelle condition :

    SCREENER [data AND greenCandle AND redCandle[1] AND redCandle[2] AND redCandle[3] AND sarReversed]
    


    #258611 quote
    HUGO LEVIEILS
    Participant
    Senior

    Ivan je les rajoutes ou ? c’est lignes ? au début au milieu ?

    Stp

    peut-tu le modifier tu a l’habitude,moi non.

    Merci

    #258622 quote
    robertogozzi
    Moderator
    Master

    Voici la version modifiée avec les lignes de code écrites par Ivan :

    //PRC_Doji Heikin Ashi | screener
    //10.01.2017
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    // --- parameters
    DojiSize = 5 //x% percent of body size compared to the complete range of the candlestick
    // ---
    
    if barindex>1 then
    haclose=(open+close+low+high)/4
    haopen=(haopen[1]+haclose[1])/2
    xHigh = Max(haOpen, haClose)
    xLow = Min(haOpen, haClose)
    hahigh = Max(High,xHigh)
    halow = Min(Low,xLow)
    endif
    
    data=(abs(haopen - haclose) <= (hahigh - halow) * DojiSize/100)
    
    red = haopen>haclose
    green = haclose>=haopen
    
    // Parabolic SAR calculation (Standard parameters) 
    mySar = SAR[0.02, 0.02, 0.2] 
    // Condition for reversed SAR (Bullish reversal) 
    sarReversed = close CROSSES OVER mySar
    
    
    SCREENER [data AND greenCandle AND redCandle[1] AND redCandle[2] AND redCandle[3] AND sarReversed]
    Cependant, je pense que la ligne sarReversed = close CROSSES OVER mySar devrait être écrite avec des bougies HA, plutôt qu'avec des bougies normales (je pense qu'Ivan ne l'a pas fait par inadvertance) : 
    

    Cependant, je pense que la ligne sarReversed = close CROSSES OVER mySar devrait être écrite avec des bougies HA, au lieu de bougies normales (je pense qu’Ivan ne l’a pas fait par inadvertance) :

    sarReversed = haclose CROSSES OVER mySar
    


    Iván González thanked this post
    #258626 quote
    HUGO LEVIEILS
    Participant
    Senior

    Robert , j’ai un code Erreur voir photo, Merci pour votre aide 🙏


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

Screener Doji Heikin Ashi avec SAR inversé en séance


Support Plateforme : Graphiques, Données & Courtiers

New Reply
Author
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by HUGO LEVIEILS
11 hours, 51 minutes ago.

Topic Details
Forum: Support Plateforme : Graphiques, Données & Courtiers
Language: French
Started: 03/02/2026
Status: Active
Attachments: 1 files
Logo Logo
Loading...