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 NullPointStrategies, Today, 05:17 AM
          0 responses
          41 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          124 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          64 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          41 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X