Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hide label of indicator utilized in strategy?

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

    Hide label of indicator utilized in strategy?

    Hey Ninjatrader team,

    How do I hide the labels for indicators utilized in my strategy?

    I know that for indicators I manually add to my charts, I can remove the text in the 'Label' field within the indicator's settings.

    But how do I do this from within my strategy or indicator source code?

    #2
    Hello iantriestrading,

    Override the DisplayName method.

    Below is a link to the help guide with sample code.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      Is it not possible to override from within my strategy code? Seems like I can only override DisplayName from within each indicator's code.

      Comment


        #4
        Hello iantriestrading,

        If you are calling an indicator and adding this with AddChartIndicator() you can set the Name property to a blank string.

        myIndy = MyIndicatorName();
        myIndy.Name = string.Empty;
        AddChartIndicator(myIndy);
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hey Chelsea, thanks! Works perfectly

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          52 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          29 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          194 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          355 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          274 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X