Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Chris L.NinjaTrader Customer Service

    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.
        Chris L.NinjaTrader Customer Service

        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 selu72, Today, 02:01 PM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Zachary  
          Started by WHICKED, Today, 02:02 PM
          2 responses
          8 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by f.saeidi, Today, 12:14 PM
          8 responses
          21 views
          0 likes
          Last Post f.saeidi  
          Started by Mikey_, 03-23-2024, 05:59 PM
          3 responses
          50 views
          0 likes
          Last Post Sam2515
          by Sam2515
           
          Started by Russ Moreland, Today, 12:54 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Erick  
          Working...
          X