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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      55 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      73 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      38 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      99 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      60 views
      0 likes
      Last Post PaulMohn  
      Working...
      X