Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Parameter name for Category

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

    Custom Parameter name for Category

    Dear all,

    Is there anyone use custom category name for property?

    I like to categorize parameters with groups.
    [Category("Filters")]

    It shows in Optimizer Parameters DilogBox but not in Chart Strategy Property paramters dialogBox.

    Any undocumented attribute to specify?

    This is how I implemented:
    ///<summary>
    ///</summary>
    [XmlIgnore()]
    [Description("Filter 1")]
    [Category("Filters")]
    [Gui.Design.DisplayNameAttribute("Filter 1")]
    publicbool Filter1
    {
    get{ return filter1; }
    set{ filter1 = value;}
    }

    In case anyone thing why I need to do this: (I've more than 10 paramters in a strategy and I would like to group them!)

    Thank you in advance.

    Sam

    #2
    Hello,

    This is beyond the level or support we provide.

    You may already know how to do this, but this link will help you with how you add a user defined input parameter:
    DenNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, Yesterday, 01:02 PM
    0 responses
    30 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    22 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    160 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    95 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    148 views
    2 likes
    Last Post CaptainJack  
    Working...
    X