Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 gravdigaz6, Yesterday, 11:40 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MarianApalaghiei, Yesterday, 10:49 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by XXtrader, Yesterday, 11:30 PM
    0 responses
    4 views
    0 likes
    Last Post XXtrader  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    28 views
    0 likes
    Last Post love2code2trade  
    Started by funk10101, Yesterday, 09:43 PM
    0 responses
    9 views
    0 likes
    Last Post funk10101  
    Working...
    X