Concatenare stringa e variabile in DRAWTEXT ProRealTime

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #258389 quote
    Alessandro FurlaniAlessandro Furlani
    Participant
    Senior
    In questo comando: DRAWTEXT("text", x1, y1, (font), (style), (size)) COLOURED(R, G, B, a)
    

    ma in generale in PRT, come faccio per concatenare una stringa ad una variabile ? Cioè vorrei che il contenuto di “text” fosse un testo seguito da l valore di una variabile.


    Grazie

    #258393 quote
    NicolasNicolas
    Keymaster
    Legend

    Per visualizzare il valore di una variabile in un DRAWTEXT, è necessario racchiuderlo tra simboli #, come ad esempio in questo caso:

    drawtext("VARIABLE = #var#",barindex,high)
    


    Alessandro Furlani and Iván González 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

Concatenare stringa e variabile in DRAWTEXT ProRealTime


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
6 months, 3 weeks ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 02/22/2026
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...