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 warreng86, 11-10-2020, 02:04 PM
    6 responses
    1,357 views
    0 likes
    Last Post mathewlo  
    Started by Perr0Grande, Today, 08:16 PM
    0 responses
    3 views
    0 likes
    Last Post Perr0Grande  
    Started by elderan, Today, 08:03 PM
    0 responses
    5 views
    0 likes
    Last Post elderan
    by elderan
     
    Started by algospoke, Today, 06:40 PM
    0 responses
    10 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    12 views
    0 likes
    Last Post maybeimnotrader  
    Working...
    X