Affichage d’indicateur sous bougies

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #205342 quote
    julian_hdp
    Participant
    New

    Bonjour,

    Je débute en programmation prorealcode et j’ai un petit problème :

    Je souhaite afficher un indicateur sur le graphique des bougies, mais au lieu de ça j’ai un panneau qui s’ouvre.

    Pour prendre un exemple simple, je souhaite détecter des sommets ou creux en pointes en bougies Heikin Ashi et afficher une flèches sous ceux-ci.

    Comment faire pour que les flèches s’affichent sous les bougies? Merci

     

    //heiken ashi candlesticks definition//heiken ashi candlesticks definition
    rge = averagetruerange[10](close)
    
    if barindex>2 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
    
    SommetEnPince = hahigh[1]=hahigh[2]
    CreuxEnPince = halow[1]=halow[2]
    
    if SommetEnPince then
    DRAWARROWDOWN(barindex[1],high[1]+rge/2)coloured(255,10,10)
    endif
    
    if CreuxEnPince then
    DRAWARROWUP(barindex[1],low[1]-rge/2)coloured(10,255,10)
    endif
    
    return
    #205343 quote
    JC_Bywan
    Moderator
    Master

    Bjr,

    voici comment afficher un indicateur dans la fenêtre du prix, afin de voir les flèches souhaitées sur/sous bougies

    https://www.prorealcode.com/blog/video-tutorials/how-to-add-an-indicator-on-price-prorealtime/

    #205344 quote
    julian_hdp
    Participant
    New

    Super, ça fonctionne! merci beaucoup

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

Affichage d’indicateur sous bougies


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
julian_hdp @julian_hdp Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by julian_hdp
3 years, 3 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 12/07/2022
Status: Active
Attachments: No files
Logo Logo
Loading...