there is a wrong sorting of the parameters in the Parameters column of a strategy tab.
These parameters are sorted by Property.Name and are NOT sorted by the Property.Attribute.Displayname.
The sorting should be the same as in a PropertyGrid, and in the grid sorting is by Property.Attribute.Displayname.
Example: SampleMACrossOver2.
By adding the DisplayName attribute the
[Description("Period for slow MA")]
[Gui.Design.DisplayName("\rSlow")]
[GridCategory("Parameters")]
publicint Slow
{
get { return slow; }
set { slow = Math.Max(1, value); }
}
the "Slow" parameter is displayed first (because "\r" is lower than "S".
In the strategy tab Parameters column however the sort order is different.
Please fix
thank you
Comment