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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      156 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
      140 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