Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change GroupName of Default Strategy Property Settings

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

    Change GroupName of Default Strategy Property Settings

    How do I access and change the default group name for the default Strategy Properties. I am creating a custom TypeConverter and I would like to organize these properties better.

    Click image for larger version

Name:	typeconverter.PNG
Views:	470
Size:	19.1 KB
ID:	1116111

    #2
    Hello cutzpr,

    The GroupName is set in the Display() attribute for each input.


    These can also be ordered.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Yes I understand, but these are default ninja trader strategy settings I am referring to not custom settings. Example, how do you specifically change the group name for lets say the enabled button for the strategy. I searched the PropertyDescriptorCollection and I couldn't find it.

      Also how about the Inputs, can you give an example on changing its group name?

      Comment


        #4
        Hello cutzpr,

        The Display attribute applies to public inputs you add to the script.

        Below is the example copied and pasted from the help guide with the group name changed to My Custom Group Name
        [Display(Name="My Period", Order=1, GroupName="My Custom Group Name")]
        public int MyInt
        { get; set; }
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_ChelseaB View Post
          Hello cutzpr,

          The Display attribute applies to public inputs you add to the script.

          Below is the example copied and pasted from the help guide with the group name changed to My Custom Group Name
          [Display(Name="My Period", Order=1, GroupName="My Custom Group Name")]
          public int MyInt
          { get; set; }
          I understand how to change public inputs. That is not what I am asking. I would like to know how to change the groupname for the default inputs. Can you provide an example.

          Comment


            #6
            Hello cutzpr,

            There are no supported methods for changing the default inputs. These are set by NinjaTrader and intended to match the help guide.

            You can have custom group names on custom inputs.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            43 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            21 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            30 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            50 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            40 views
            0 likes
            Last Post CarlTrading  
            Working...
            X