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 helpwanted, Today, 03:06 AM
                  1 response
                  10 views
                  0 likes
                  Last Post sarafuenonly123  
                  Started by Brevo, Today, 01:45 AM
                  0 responses
                  8 views
                  0 likes
                  Last Post Brevo
                  by Brevo
                   
                  Started by aussugardefender, Today, 01:07 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post aussugardefender  
                  Started by pvincent, 06-23-2022, 12:53 PM
                  14 responses
                  242 views
                  0 likes
                  Last Post Nyman
                  by Nyman
                   
                  Started by TraderG23, 12-08-2023, 07:56 AM
                  9 responses
                  386 views
                  1 like
                  Last Post Gavini
                  by Gavini
                   
                  Working...
                  X