Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Parameters Regions collapsed by default with CategoryExpandedAttribute ?

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

  • NinjaTrader_ChelseaB
    replied
    Hello aslane,

    I have received tracking ID# SFT-4272 for this request to add expandable class inputs without having to write the code for an expandable class.

    Please note it is up to the NinjaTrader Development team to decide if or when any request will be implemented.

    We appreciate your feedback.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello aslane,

    Our team is not familiar with this.

    I will submit a feature request on your behalf. Once I have a tracking ID for this I will post in this thread for future reference.

    I appreciate your patience.

    Leave a comment:


  • aslane
    replied
    Any updates on this?

    Having quick way to define default collapsed property would be very useful when there are a large number of groups. Needing to build an expandable class should not be required.

    Leave a comment:


  • Robinson94
    replied
    Thank you for asking around !

    Have a good day !

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Robinson94,

    The is not documented for use in the help guide. Below is a public link.


    I'll ask if anyone has used this successfully and let you know what I find.

    As a tip, an expandable class may achieve your goal. Below is a link to an example.

    Leave a comment:


  • Parameters Regions collapsed by default with CategoryExpandedAttribute ?

    Hi !

    I'm looking to have the region of a strategy in the parameters grid, collapsed by default, when you open the strategy, instead of, that when you open a strategy or indicator, all the region are open. But i have a few troubles making it work.

    I have look up a bit on this, i didn't find any documentation on collapsing, even if there is great documentation about Category Order.
    Category Order which work with this line placed before the "public class (Indicator or Strategy name)"

    Code:
    [Gui.CategoryOrder("News", 1)]
    In the references of NinjaTrader (not trough the website), i have found this option that could work, but since there is no documentation about it, i'm not sure if i use it correctly

    Code:
    [Gui.CategoryExpandedAttribute("News", false)]
    I have put this line right below the CategoryOrder line (the Order which work), but, the Expanded Attribute, do not do anything set on true or false.


    So, is there a way, to have the region in the parameters grids collapsed by default ? And is the Expanded Attribute line, the way to do so ? If so, how do we make it work ?

    Thank you very much ! Have a fantastic day !

Latest Posts

Collapse

Topics Statistics Last Post
Started by Josephina55, Yesterday, 06:30 PM
0 responses
6 views
0 likes
Last Post Josephina55  
Started by mathfrick2023, 05-08-2025, 12:51 PM
8 responses
68 views
0 likes
Last Post Yogaman
by Yogaman
 
Started by several, 04-22-2025, 05:21 AM
2 responses
244 views
0 likes
Last Post Lukasxgtx  
Started by cherkoul, 06-12-2025, 11:21 PM
0 responses
16 views
0 likes
Last Post cherkoul  
Started by NTEducationTeam, 06-12-2025, 02:30 PM
0 responses
26 views
0 likes
Last Post NTEducationTeam  
Working...
X