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

Too much information in the indicator description

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

    Too much information in the indicator description

    Hello, I have an indicator edited by me and I have added several more interesting things for my trading.
    I have compiled it and it also works correctly but it happens that when I am going to add it to a new chart, all the information appears and I would like it to be hidden as it happens with the other indicators: example RSI.
    Do you know if there is an order or parameter to hide this information?
    Thanks in advance.
    Last edited by punkiy2111; 05-04-2020, 08:18 PM.

    #2
    Hello punkiy2111,

    Thank you for your note.

    The items you're seeing after the indicator name within the parenthesis are simply the user defined parameters for the indicator. The RSI doesn't have many because it only has a very few user inputs; it's not that anything is being hidden - just that it's only got a few settings settable by the user. There would not be a way to not show those in the indicator selection dialogue box. However, you may keep them from showing in the upper left corner of the chart by removing the contents of the Label field in the indicator parameters. No notation of what the indicator is that is applied to the chart will be shown if this is removed.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Perfect, so it means that my indicator is well configured.
      Thank you team for your enormous work.

      Comment


        #4
        If you wish to do this from inside your indicator,

        Code:
        public override string ToString()
        {
            return string.Empty;
        }

        Comment


          #5
          Thank you very much for your answer. Could you please tell me where in the body of the program can I put this sequence? Thanks for everything.

          Comment


            #6
            Just about anywhere, it's your choice.
            As long as it's inside the indicator class somewhere, the compiler won't care.

            I like to make it the very first method, so I put it just above Initialize() or OnStartUp().

            Some people locate it after OnBarUpdate(), with other miscellaneous routines.

            I'd recommend you come up with a coding 'standard practice' for yourself and
            just stay consistent with whatever location you prefer.

            Comment


              #7
              Perfect has become clear to me. Thank you very much for all your help. You are a great partner.

              Comment


                #8
                Anybody looking for NT8, start here,


                This code should do it,

                Code:
                [COLOR=#000000]public override string DisplayName
                {
                    get { return string.Empty; }
                }[/COLOR]

                Comment


                  #9
                  Thanks!!!
                  I can't read your private, please send me one, or if the administrator can give you my email. Regards.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by AnnBarnes, Today, 12:17 PM
                  0 responses
                  1 view
                  0 likes
                  Last Post AnnBarnes  
                  Started by Lopat, 03-05-2023, 01:19 PM
                  4 responses
                  166 views
                  0 likes
                  Last Post Sam2515
                  by Sam2515
                   
                  Started by f.saeidi, Today, 12:14 PM
                  0 responses
                  2 views
                  0 likes
                  Last Post f.saeidi  
                  Started by giulyko00, Today, 12:03 PM
                  0 responses
                  4 views
                  0 likes
                  Last Post giulyko00  
                  Started by AttiM, 02-14-2024, 05:20 PM
                  12 responses
                  213 views
                  0 likes
                  Last Post DrakeiJosh  
                  Working...
                  X