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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          80 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          40 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          63 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          63 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          54 views
          0 likes
          Last Post CarlTrading  
          Working...
          X