Ecrire le cours d'une bougie sur un graph

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28000 quote
    picatchummpicatchumm
    Participant
    Average

    Bonjour,
    J’ai créer un indicateur qui dessine une flèche sur le graph lors de signaux achat et vente (jusqu’ici normal) ;
    Je souhaiterais afficher au dessus (ou dessous) de cette flèche sur le graph le cours de l’indice au moment du signal (pour avoir un historique du cours sur le graph de chaque signal achat ou vente.

    j’ai essayé avec (la variable test = close de la bougie )

    text = close
    DRAWTEXT(text,x,y,Bold,12) coloured(100,100,100,100)

    mais ça ne fonction pas DRAWTEXT demande en 1er argument un text entre guillemet.
    Est qu’il est possible d’écrire le cours d’une bougie sur un graph via d’un indicateur ?

    #28011 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Essaye avec:

    text = close
    DRAWTEXT("= #text#",x,y,Bold,12) coloured(100,100,100,100)
    #28012 quote
    picatchummpicatchumm
    Participant
    Average

    Merci Noobywan,

    Je viens de trouver et de te lire :
    en effet il faut juste remplacer “text” par  “#myvariable#”

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

Ecrire le cours d'une bougie sur un graph


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
picatchumm @picatchumm Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by picatchummpicatchumm
9 years, 6 months ago.

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