Screener bougies Heikin-Ashi baissières sans corps

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #258226 quote
    HUGO LEVIEILS
    Participant
    Average

    Recherche Screener:

    (1) Bougies Heikin-Ashi

    (2) Bougies Baissiéres sans tige au dessus

    (3) Bougie sans corps

    Voir photo

    merci d’avance

    STROMBOLI.png STROMBOLI.png
    #258228 quote
    robertogozzi
    Moderator
    Master

    Voici le screener :

    MaxDecimals= 1 //Vous pouvez faire varier le nombre de décimales de 0 à 5 ou 6.
    // ---------------------------------------------------------------
    //   Calcul des Bougies Heikin-Ashi
    once xOpen = open
    xClose     = round((open + close + high + low) / 4,MaxDecimals)
    if barindex > 0 then
       xOpen   = round((xOpen[1] + xClose[1]) / 2,MaxDecimals)
    endif
    xLow       = min(low,min(xClose,xOpen))
    xHigh      = max(high,max(xClose,xOpen))
    // ---------------------------------------------------------------
    //haussier = xClose > xOpen
    baissier   = xClose <= xOpen
    //
    sanscorps  = (xOpen = xClose)
    sanstige   = (xHigh = max(xOpen,xClose))
    //
    Cond       = baissier AND sanscorps AND sanstige
    
    Iván González thanked this post
    #258231 quote
    HUGO LEVIEILS
    Participant
    Average

    Bonjour Robert

    il y a une erreur dans le code

    #258237 quote
    Iván González
    Moderator
    Master

    Bonjour. Ajoutez cette ligne à la fin du code :

    screener[cond]
    


    #258244 quote
    HUGO LEVIEILS
    Participant
    Average

    j’ai toujour une erreur

    voir photo

    Stromboli-.png Stromboli-.png
    #258246 quote
    Nicolas
    Keymaster
    Master

    On ne voit pas l’erreur, mais merci de vérifier si les parenthèses sont bien à la fin des lignes et non sur une autre ligne en dessous.

    #258255 quote
    HUGO LEVIEILS
    Participant
    Average

    je vient de le faire pour la Parenthèse

    mais il y a toujour une erreur de mon côté

    voir photo

    erreur.png erreur.png
    #258256 quote
    Iván González
    Moderator
    Master

    D’accord, vous devez supprimer la ligne 9 où la variable « xlow » est déclarée. En effet, xlow n’est pas utilisée pour les conditions de configuration du filtre.

    robertogozzi and HUGO LEVIEILS thanked this post
    #258258 quote
    HUGO LEVIEILS
    Participant
    Average

    Merci Ivan bonne journée

    #258320 quote
    HUGO LEVIEILS
    Participant
    Average

    Re bonjour,

    si possible vous-pouvez modifié le code ?

    Ma demande Plusieurs Bougies Heikin-Ashi baissières avec la dernière bougie N° 3 (Indésition) en vert ( il y en qu’il appelle ça Stromboli ??? )

    les autres bougies après la bougie N° 3 ne m’intéresse pas.

    Voir photo

    Merci beaucoup 🙏

    STROMBOLI-1.png STROMBOLI-1.png
    #258331 quote
    Iván González
    Moderator
    Master

    En m’appuyant sur le code de Nicolas, j’ai ajouté la détection des chandeliers haussiers ou baissiers. On pourrait l’optimiser par sommation, mais j’ai préféré la coder ainsi.

    //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]]
    

    Cherchez une bougie verte en forme de doji et trois bougies rouges précédentes.

    Nicolas and HUGO LEVIEILS thanked this post
    #258338 quote
    HUGO LEVIEILS
    Participant
    Average

    Oui je recherche une bougie verte en forme de doji, et minimum 5 bougies rouges baissiéres précédantes voir 20 ou plus en bougies Heikin-Ashi.

    Merci pour votre aide .

    vous être vraiment sympa 🙏🙏

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

Screener bougies Heikin-Ashi baissières sans corps


ProScreener : Scanners de Marché & Détection

New Reply
Author
Summary

This topic contains 11 replies,
has 4 voices, and was last updated by HUGO LEVIEILS
1 week, 1 day ago.

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