Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Group/Collapse Input Parameters

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

    Group/Collapse Input Parameters

    Hello,

    Is there a way to group/collapse multiple parameters inside of the same Grid Category?

    For example I have Grid Category "MyParameters"

    and I have the following parameters:

    1a. Parm1
    1b. Parm2
    1c. Parm3

    2. 2Parm
    3. 3Parm

    I would like to for example group the 1s so that there is a "+" next to 1, and when I click it it expands to show the other inputs (i.e. 1b, 1c).

    I'm trying to accomplish exactly what is available with Font inputs, except with other object types.

    A Sub-Grid Category if available would do the trick I think.

    Thank you!
    Last edited by MercuryScripter; 06-03-2015, 08:51 AM.

    #2
    Hello MercuryScripter,

    Unfortunately you cannot do this natively in NinjaTrader 7. I have submitted your request for sub-grid categories as a feature request so development can track it. This feature may or may not become available in future releases.

    Current functionality allows you to use multiple grid categories. Example:

    Code:
    [Description("")]
    [GridCategory("Parameter1")]
    public int Param1a {
        get { return param1a; }
        set { param1a = Math.Max(1, value); }
    }
    [Description("")]
    [GridCategory("Parameter1")]
    public int Param1b {
        get { return param1b; }
        set { param1b = Math.Max(1, value); }
    }
    [Description("")]
    [GridCategory("Parameter1")]
    public int Param1c {
        get { return param1c; }
        set { param1c = Math.Max(1, value); }
    }
    [Description("")]
    [GridCategory("Parameter2")]
    public int Param2 {
        get { return param2; }
        set { param2 = Math.Max(1, value); }
    }
    [Description("")]
    [GridCategory("Parameter3")]
    public int Param3 {
        get { return param3; }
        set { param3 = Math.Max(1, value); }
    }
    Please let us know if we may be of further assistance.
    Michael M.NinjaTrader Quality Assurance

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,281 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    19 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Tim-c, Today, 02:10 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    5 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    53 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Working...
    X