superposition de bougies

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #245785 quote
    larouedegannlarouedegann
    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álezIván González
    Moderator
    Legend

    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
    larouedegannlarouedegann
    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
    
    Capture-decran-2025-04-11-204621.png Capture-decran-2025-04-11-204621.png
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 larouedegannlarouedegann
1 year, 5 months ago.

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