Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

[Gui.Design.DisplayName("")];

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

    [Gui.Design.DisplayName("")];

    Josh


    With version 6.5 this code was working properly :

    [Description("My Indicator")]
    [Gui.Design.DisplayName(" *MyIndicator (Ind)")]


    Now it seems it doesn't anymore...

    What do I have to change ?


    Bernard

    #2
    Bernard,

    Mine works fine in NT7 as it did in NT65, but I do not follow it with a semicolon like you have displayed in your post's subject line.

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    Comment


      #3
      Whitmark

      Thanks for the reply. I do not have a semicolon in my code but still doesn't work.

      Yours is working not mine ?

      bizarre


      I was discussing with another user and his draw methods were not working but mine was working with the same code. There are things that are difficult to understand...sometimes



      Bernard

      Comment


        #4
        Bernard,

        What does not working look like? You do not see the parameter item in the parameter dialog? Might be best to modify a simple SMA indicator or crossover strategy, verify you're still having issues then post here for others to try to duplicate.

        Whitmark
        whitmark
        NinjaTrader Ecosystem Vendor - Whitmark Development

        Comment


          #5
          The way that I understand this is that in version 6.5 what the code :
          [Gui.Design.DisplayName(" *MyIndicator ( IND)")]
          was doing is that it put the name *MyIndicator in the upper indicators window list. So with the (*) I could place the name of my indicators first on the list.
          In version 7.0 I don't get my indicator renamed in the upper indicators window.






          Bernard

          Comment


            #6
            In 7, the DisplayName concept has been removed. The indicator selection dialogue listings will just be done by file name.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Josh View Post
              In 7, the DisplayName concept has been removed. The indicator selection dialogue listings will just be done by file name.
              Grrr, now how do we group our indicators at the top of the list? Why would a feature that everyone uses be removed? I really don't like scrolling through half of 559 indicator names to get to mine.
              Last edited by eDanny; 10-05-2009, 12:17 PM.
              eDanny
              NinjaTrader Ecosystem Vendor - Integrity Traders

              Comment


                #8
                Name it how you want to group it. The actual class name.

                Say you wanted to group them all with a system prefix like ed.

                Give all your file names ed_Stochastics, ed_RSI, etc. This was removed because there was too much confusion with people using exactly the same display names on numerous occasions and it becoming extremely difficult for support to isolate which is which. Thank you for understanding.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  All my indicators begin with "I" and were at the top of the list. This is not good even though I can understand the confusion that was there.
                  eDanny
                  NinjaTrader Ecosystem Vendor - Integrity Traders

                  Comment


                    #10
                    I had this same question and found this thread. It's not the external file name that's used in the indicator list, it's the class name. So how do you get your custom indicators to float to the top of the list then? I don't think you can use a non-alpha character as the first character of a class name... any other ideas?

                    Bryan

                    Comment


                      #11
                      Originally posted by cassb View Post
                      I had this same question and found this thread. It's not the external file name that's used in the indicator list, it's the class name. So how do you get your custom indicators to float to the top of the list then? I don't think you can use a non-alpha character as the first character of a class name... any other ideas?

                      Bryan
                      Nevermind, I figured it out. You use this in your Initialize tag:

                      Name = "indicator list name"

                      Comment


                        #12
                        cassb,

                        Please try Name = "some string" in Initialize().
                        Josh P.NinjaTrader Customer Service

                        Comment


                          #13
                          Originally posted by NinjaTrader_Josh View Post
                          In 7, the DisplayName concept has been removed. The indicator selection dialogue listings will just be done by file name.
                          I didn't see anything regarding this mentioned here -> http://www.ninjatrader-support2.com/...ad.php?t=21016 - unless its part of the "Wrapper generator" which I wasn't sure what that really meant.

                          So I take it we can rip out all lines starting with [Gui.Design.DisplayName(.

                          What about [Description(? Is that still good for NT7 or should we get rid of this line too?

                          JD

                          Comment


                            #14
                            You can get rid of all DisplayName lines. Description lines are still valid. This was always unsupported properties and as such the documentation is for documented properties.
                            Josh P.NinjaTrader Customer Service

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                            0 responses
                            597 views
                            0 likes
                            Last Post Geovanny Suaza  
                            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                            0 responses
                            343 views
                            1 like
                            Last Post Geovanny Suaza  
                            Started by Mindset, 02-09-2026, 11:44 AM
                            0 responses
                            103 views
                            0 likes
                            Last Post Mindset
                            by Mindset
                             
                            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                            0 responses
                            556 views
                            1 like
                            Last Post Geovanny Suaza  
                            Started by RFrosty, 01-28-2026, 06:49 PM
                            0 responses
                            555 views
                            1 like
                            Last Post RFrosty
                            by RFrosty
                             
                            Working...
                            X