Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change text

    Hi everyone


    I am transferring code from TS to NT. What is the equivalent for text_setstring.

    What I am trying to do is this : when a condition is true I want to just change the text on an actual text that I displayed before on the chart.

    I do not want to use the DrawText method again but just change the text of that text tag.



    Thanks


    Bernard

    #2
    Bernard,

    Unfortunately we are not TS experts and would not know what text_setstring in TS is.

    If you want to modify a text you already have added to a chart you would just call DrawText again with the same string tag and change the actual string text while leaving maintaining the appropriate bars ago, etc values.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    29 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    17 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    9 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    15 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    18 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X