fonction DRAWBARCHART

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229321 quote
    christophe11560
    Participant
    Senior

    Bonjour à tous,

    La fonction DRAWBARCHART permet d’affecter une couleur à une barre pour l’ouverture, la fermeture, le haut et le bas.

    Sur mon graphique de prix, j’utilise les barres HLC et non OHLC.

    quelle fonction je peux utiliser pour affecter une couleur aux barres HLC?

    merci
    christophe

    #229367 quote
    Iván González
    Moderator
    Master

    Bonjour, je peux faire ce qui suit :

    condition = 1 //Here write your condition for change color. 
    //Example close>close[1]
    
    if condition then
    r=0
    g=255
    else
    r=255
    g=0
    endif
    drawbarchart(close,high,low,close)coloured(r,g,0)
    return
    christophe11560 thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

fonction DRAWBARCHART


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván González
1 year, 11 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 03/06/2024
Status: Active
Attachments: No files
Logo Logo
Loading...