Drawtext en variable

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #209127 quote
    supertitisupertiti
    Participant
    Master

    Bonjour à tous,

    Est -il possible de mettre en variable une ligne commençant par drawtext de façon a faire apparaître le signe ou pas sur le graphe.

    exemple :

    drawtext(“●”,barindex,fastln,Dialog,Bold,30) coloured(r,g,b)

    merci pour vos lumières

    Bon dimanche

    #209129 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bjr,

    Mettre en variable la ligne drawtext directement, non, mais se servir d’une variable dans une structure if… then…endif, oui. Appelons la variable “montext”, qui =1 si on veut écrire le drawtext ou =0 si on ne veut pas, alors ça ferait quelque chose comme:

    if montext then
      drawtext(“●”,barindex,fastln,Dialog,Bold,30) coloured(r,g,b)
    endif
    #209133 quote
    supertitisupertiti
    Participant
    Master

    merci Jc je vais essayer d’en faire qq chose

    bon dimanche

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

Drawtext en variable


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/05/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...