Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hide Indicator name and input parameters?

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

    Hide Indicator name and input parameters?

    is these a way to hide the indicator name and the input parameters so they don't show up like on the attached?

    or at least just the input parameters?

    #2
    Hello cre8able,
    You can delete Label from Indicator Settings to remove both or keep name only by putting name in double quotes e.g. "Bubble".
    Hope it helps!

    Comment


      #3
      thanks s.kinra
      That works when I delete Bubble from the properties box when loading the indicator on a chart. Is there a way to disable it in the code for the indicator?

      Comment


        #4
        Yes, you can do this from code as well. Refer below:
        Add this before OnBarUpdate.

        Remove both name & parameters:
        Code:
        public override string DisplayName
        {
        get { return "";}
        }
        Remove parameters only:
        Code:
        public override string DisplayName
        {
        get { return this.Name;}
        }
        Hope it helps!

        Comment


          #5
          perfect
          thank you

          Comment


            #6
            To separate the descriptive text that is shown in the indicator loading window, from the text in the label in the chart (string.Empty) you can use this code:

            Code:
            public override string DisplayName { get { return State == State.SetDefaults ? this.Name + " custom text" : string.Empty; } }

            Comment


              #7
              Would be nice if these tidbits were easier to find than having to google them. :/

              Quoted to drop the parameters was what I was looking for, the code options are nice bonus mention! Thanks.

              Tool Tips on the input fields for example..

              One flaw with the DisplayName override is that in the Indicators list it uses your user-supplied Instance as the this.Name as well, gets confusing if the user blanked it.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              81 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              42 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              64 views
              2 likes
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              66 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