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:	484
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 Mindset, 04-21-2026, 06:46 AM
            0 responses
            90 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            137 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            68 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            120 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            72 views
            0 likes
            Last Post PaulMohn  
            Working...
            X