Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Redraw a text only

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

    Redraw a text only

    Hi

    I have a text that has been placed under a bar because of a specific condition happened. Now many bars later I have to just change the text not the location of it. Instead of rewritng the draw method with all the location information that I have to recalculate can I just change the text. How can I do that ?



    Thank you in advance

    Bernard

    #2
    Hi Bernard, unfortunately you'd have to recalculate the location information. When you call a Draw() method, it will create a new object every time and will replace an old object if the names are the same.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Austin


      If it is what it is.



      Thanks

      Bernard

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      155 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      90 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      137 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      130 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      107 views
      0 likes
      Last Post CarlTrading  
      Working...
      X