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)"
[Gui.CategoryOrder("News", 1)]
[Gui.CategoryExpandedAttribute("News", 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 !
Comment