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