Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Parameters Regions collapsed by default with CategoryExpandedAttribute ?

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

    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 !

    #2
    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.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you for asking around !

      Have a good day !

      Comment


        #4
        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.

        Comment


          #5
          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.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            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.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by wuannetraam, Today, 12:22 AM
            0 responses
            4 views
            0 likes
            Last Post wuannetraam  
            Started by TGOG1, Yesterday, 03:02 PM
            2 responses
            20 views
            0 likes
            Last Post TGOG1
            by TGOG1
             
            Started by AlgoDreamer, Yesterday, 06:12 PM
            0 responses
            8 views
            0 likes
            Last Post AlgoDreamer  
            Started by Rafaelseki, Yesterday, 03:36 PM
            0 responses
            8 views
            0 likes
            Last Post Rafaelseki  
            Started by rdlans, Yesterday, 05:42 AM
            2 responses
            25 views
            0 likes
            Last Post rdlans
            by rdlans
             
            Working...
            X