Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do you stop indicator message at the top of the screen?

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

    How do you stop indicator message at the top of the screen?

    Hi, I have a number of indicators on the screen.

    How do I stop an indicator from putting a message on the top of the screen telling me it is running and what parameters it is using?

    Thanks

    #2
    Originally posted by DaFish View Post
    How do I stop an indicator from putting a message on the top of the screen telling me it is running and what parameters it is using?
    Either delete and/or change the settings/label in the indicator properties window.. Or use the override string DisplayName to perminately change it to whatever you want..




    -=Edge=-
    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

    Comment


      #3
      Hello,
      Thank you -=Edge=- for providing this information.
      DaFish the information -=Edge=- has provided on this is correct.

      Please let us know if you have any questions on this.
      Cody B.NinjaTrader Customer Service

      Comment


        #4
        Hi, Thank you Edge.

        blanking the LABEL worked, but putting that code in removed the indicator name from the Indicator->Configured area. As did changing the name in the set defauts area: Name=""

        Blanking the label is fine, I just have to do it on every indicator on every chart.. and save workspace. No issue.

        Question: Is there a way to blank the LABEL only and keep the indicator name showing in the indicator box?

        See pics
        Attached Files

        Comment


          #5
          How do you stop indicator message at the top of the screen?

          Probably the simplest is Name="<indicator name>".
          Multi-Dimensional Managed Trading
          jeronymite
          NinjaTrader Ecosystem Vendor - Mizpah Software

          Comment


            #6
            Originally posted by DaFish View Post
            Question: Is there a way to blank the LABEL only and keep the indicator name showing in the indicator box?
            DaFist, please use this code:

            protected override void OnStateChange() {
            if (State == State.Configure) {
            Name = string.Empty;
            }
            }

            public override string DisplayName {
            get { return "Your indicator name shown in the <Configured> list"; }
            }
            Last edited by ninZa; 11-04-2015, 09:36 PM.
            ninZa
            NinjaTrader Ecosystem Vendor - ninZa.co

            Comment


              #7
              Thanks ninZa.

              On further analysis, it will remove the name of the indicator/strategy but it will NOT remove the list of parameters that I provide as inputs to the indicator/strategy. How do I remove those as well. It is just a big long string of numbers that mean nothing and are taking up prime realestate on the screen.

              I want to turn that off if I can.

              Thanks everyone for the assistance on this.

              Comment


                #8
                Are you sure?

                The code I provided you leads to the following screenshot. Absolutely no indicator label on chart. The indicator name just appears in the "Configured" list as you desire.
                Attached Files
                ninZa
                NinjaTrader Ecosystem Vendor - ninZa.co

                Comment


                  #9
                  How do you stop indicator message at the top of the screen?

                  In NT7, this works when put into the code of an indicator:
                  Code:
                  [FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]
                   [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]public [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]override [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] ToString()
                   {
                      [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]return[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] "whatever you want" ;
                   }[/SIZE][/FONT][/SIZE][/FONT]
                  Haven't tried it in NT8 yet, but I suspect it would be the same or similar.
                  Multi-Dimensional Managed Trading
                  jeronymite
                  NinjaTrader Ecosystem Vendor - Mizpah Software

                  Comment


                    #10
                    Originally posted by jeronymite View Post
                    In NT7, this works when put into the code of an indicator:
                    Code:
                    [FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]
                     [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]public [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]override [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] ToString()
                     {
                        [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]return[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] "whatever you want" ;
                     }[/SIZE][/FONT][/SIZE][/FONT]
                    Haven't tried it in NT8 yet, but I suspect it would be the same or similar.
                    No - overriding ToString is not sufficient in NT8. You'll have to use the provided virtual DisplayName which exists on every NinjaScript type.
                    MatthewNinjaTrader Product Management

                    Comment


                      #11
                      Hi an update.

                      This works for an indicator that is NOT on the primary panel (where the price is usually) - the name AND the pararmeters are not on the indicator on Panel 2 for example

                      This does NOT work on the price panel when I put on a strategy. The NAME is not there, that works, but the PARAMETERS are still on the panel see pic attached.
                      Attached Files

                      Comment


                        #12
                        Originally posted by DaFish View Post
                        This does NOT work on the price panel when I put on a strategy. The NAME is not there, that works, but the PARAMETERS are still on the panel see pic attached.
                        Weird. I don't have any labels on chart, no matter whether the indicator is placed in the price panel or new panel. See my attachment.

                        Have you included this code:

                        public override string DisplayName {
                        get { return "Your indicator name shown in the <Configured> list"; }
                        }
                        Attached Files
                        ninZa
                        NinjaTrader Ecosystem Vendor - ninZa.co

                        Comment


                          #13
                          Hello Dafish,
                          I have tested this on my end and I do see it working as expected.
                          Are you still receiving a label on the chart?
                          If so please provide a sample of the code you are using and the steps you are using to reproduce this behavior.
                          Cody B.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by usazencort, Today, 01:16 AM
                          0 responses
                          1 view
                          0 likes
                          Last Post usazencort  
                          Started by kaywai, 09-01-2023, 08:44 PM
                          5 responses
                          603 views
                          0 likes
                          Last Post NinjaTrader_Jason  
                          Started by xiinteractive, 04-09-2024, 08:08 AM
                          6 responses
                          23 views
                          0 likes
                          Last Post xiinteractive  
                          Started by Pattontje, Yesterday, 02:10 PM
                          2 responses
                          22 views
                          0 likes
                          Last Post Pattontje  
                          Started by flybuzz, 04-21-2024, 04:07 PM
                          17 responses
                          230 views
                          0 likes
                          Last Post TradingLoss  
                          Working...
                          X