superposition de bougies

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #245785 quote
    larouedegann
    Participant
    Master

    bonjour à tous,

    je cherche à superposer une bougie de 1 HEURE  dans un graphique de 5mn c’est à dire 12 bougies

    avec couleur incluse dans le corps (verte ou rouge)

    merci à vous

    #245788 quote
    Iván González
    Moderator
    Master

    Bonjour. Vous avez tout ce dont vous avez besoin dans cet article : https://www.prorealcode.com/topic/show-5-minute-candlestick-in-1-minute-chart/

    #245831 quote
    larouedegann
    Participant
    Master

    Merci à toi ivan.

    Je n’étais pas remonté aussi loin.

    Je reposte le code . Merci à ceux qui l’ont créé, ils se reconnaitrons.

    timeframe(1hour)
     
    C5 = close
    O5 = open
    H5 = high
    L5 = low
     
    If c5<o5 then
    r=255
    g=0
    b=0
    else
    r=0
    g=0
    b=255
    endif
    timeframe(default)
    If OpenMinute MOD 60 = 55 Then  //plot only when the 15-minute bar closes
    Drawrectangle(BarIndex - 12,O5,BarIndex,C5)             Coloured(r,g,b,180)style(line,2)fillcolor(r,g,b,130) //Body  /style Line 2 = Dicke
    DrawRectangle(BarIndex - 6,max(O5,C5),BarIndex - 6,H5) Coloured(r,g,b,180)style(line,4)   //Upper Wick
    DrawRectangle(BarIndex - 6,min(O5,C5),BarIndex - 6,L5) Coloured(r,g,b,180)style(line,4)  //Lower Wick
    Endif
    Return
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

superposition de bougies


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by larouedegann
9 months, 4 weeks ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/10/2025
Status: Active
Attachments: 1 files
Logo Logo
Loading...