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:	39
Size:	19.1 KB
ID:	1116111

    #2
    Hello cutzpr,

    The GroupName is set in the Display() attribute for each input.
    https://ninjatrader.com/support/help...yattribute.htm

    These can also be ordered.
    https://ninjatrader.com/support/help...rattribute.htm
    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 sidlercom80, Today, 04:57 AM
            0 responses
            3 views
            0 likes
            Last Post sidlercom80  
            Started by patricia70, Today, 03:57 AM
            0 responses
            5 views
            0 likes
            Last Post patricia70  
            Started by pjsmith, Today, 03:25 AM
            0 responses
            7 views
            0 likes
            Last Post pjsmith
            by pjsmith
             
            Started by cincai, Today, 01:04 AM
            1 response
            14 views
            0 likes
            Last Post NinjaTrader_Jason  
            Started by voltation, Today, 12:37 AM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_Jason  
            Working...
            X