Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Turning Off Indicator Labels On Chart

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

    Turning Off Indicator Labels On Chart

    This question has come up several times over the past decade but I don't see a valid solution posted in the forums yet. I've got a large strategy that uses a bunch of indicators which all have labels that are currently shown on the chart panel. It's really messy and I would very much like to hide the labels without losing the ability to see the indicator names in the small pop-up that shows the values for each candle (upon right click). Can the settings and names of indicators finally be hidden on the chart window?

    Many thanks in advance.

    #2
    Hello molecool, thanks for your post.

    When you set up the indicator, set the Indicator.Name property to String.Empty before calling AddChartIndicator() from OnStateChanged. e.g.

    if (State == State.DataLoaded)
    {
    MySMA = SMA(15);
    MySMA.Name = String.Empty;
    AddChartIndicator(MySMA);
    }

    Please let me know if this does not resolve your inquiry.

    Comment


      #3
      Okay, but that will mean that the little drop down you get when right clicking on the chart won't show the name of the indicator either, correct?

      Comment


        #4
        Hello molecool, thanks for your reply.

        That is correct. The indicator name in the indicator's list will be blank after setting the Name to a blank string.

        Please let me know if I can assist any further.

        Comment


          #5
          Does not solve my problem then but I hope that this feature will be implemented in a future version of NinjaTrader. Thanks.
          Last edited by molecool; 01-22-2021, 09:19 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          90 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          137 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
          120 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          71 views
          0 likes
          Last Post PaulMohn  
          Working...
          X