fonction DRAWBARCHART

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

    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.
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

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álezIván González
2 years, 6 months ago.

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