Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TextBrush Not Working?

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

    TextBrush Not Working?

    Hello,

    In NT 8.0.22.2 the following code can change the color of a text object:

    Code:
    Print("text is trying to be colored");
    NinjaTrader.NinjaScript.DrawingTools.Text text = new NinjaTrader.NinjaScript.DrawingTools.Text();
    text.TextBrush = buttonColor;
    Print("Colored");
    In the latest version, 8.0.23.2, this seems to no longer work. Any suggestions?

    Thanks

    *****
    Never mind what I said, ID-10T
    Last edited by Unsuitable; 12-21-2020, 07:30 AM.
    Unsuitable
    NinjaTrader Ecosystem Vendor - Ocean Trading Indicators

    #2
    Hello Unsuitable,

    Thanks for the post.

    I see your edit, if you still needed any assistance here please let me know and I would be happy to look further into the question.

    I look forward to being of further assistance.

    Comment


      #3
      Hi Jesse,

      The problem was a feature in an indicator was not working with the newer version of NT for one of my clients. I tested it myself and it works fine (updated my NT and tested a newly compiled version). Perhaps it had to be recompiled, not too sure. We'll see if the compiled version works.
      Unsuitable
      NinjaTrader Ecosystem Vendor - Ocean Trading Indicators

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      566 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      547 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      548 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X