3 Bougies Rouges sans ombre supérieur

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #261649 quote
    OURS95
    Participant
    Senior

    Bonjour,

    Pouvez-vous modifier dans ce sens :ajouter à la condition TroisRouge sans aucune ombre supérieur


    Merci par avance


    Domi






    //PRC_Doji Heikin Ashi | screener


    // — 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)

    TroisRouge= summation[3](haclose<haopen)=3 // série de 3 rouge en bougies HA = vrai ou faux

    myVOL   = volume * close

    VOLcond  = myVOL > 150000

    condition= data AND TroisRouge[1] AND VOLcond // data du code fourni ET TroisRouge vraie en bougie précédente

    screener [condition](myVOL as “capitalisation”) // screener désormais sur la condition combinée et pas seulement sur data


    #261655 quote
    robertogozzi
    Moderator
    Master

    Voici le code modifié :

    //PRC_Doji Heikin Ashi | screener
    // — 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
    Baissier           = haopen > haclose
    sansOmbreSuperieur = ((hahigh - max(haopen,haclose)) = 0)
    Cond               = Baissier AND sansOmbreSuperieur
    TroisRouge         = (summation[3](Cond) = 3)
    data=(abs(haopen - haclose) <= (hahigh - halow) * DojiSize/100)
    //TroisRouge= summation[3](haclose<haopen)=3 // série de 3 rouge en bougies HA = vrai ou faux
    myVOL   = volume * close
    VOLcond  = myVOL > 150000
    condition= data AND TroisRouge[1] AND VOLcond // data du code fourni ET TroisRouge vraie en bougie précédente
    screener [condition](myVOL as "capitalisation") // screener désormais sur la condition combinée et pas seulement sur data
    
    Iván González thanked this post
    #261667 quote
    OURS95
    Participant
    Senior

    Merci c’est super

    bonne journée

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

3 Bougies Rouges sans ombre supérieur


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
OURS95 @ours95 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by OURS95
1 week, 3 days ago.

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