1) Every BRUSH inputs have to be serialized inside code. That makes an extra code inside inis/strategies.
[NinjaScriptProperty]
[XmlIgnore]
[Display(Name="Smth", Description="", Order=1, GroupName="Parameters")]
public Brush XYZ
{ get; set; }
[COLOR="Red"][Browsable(false)]
public string XYZSerializable
{
get { return Serialize.BrushToString(XYZ); }
set { XYZ= Serialize.StringToBrush(value); }
}
[/COLOR]
2) also, the auto-generated code which is tied in the end of every script (ninjatrader code, neither change nor remove and below...) - i think that also makes the place heavier. Why just NT cant embed that code in the back-end itself, out of the editor/script? thus, script will be much cleaner for developers.
3) will be excellent to add this feature: we could put the default value inside input, like:
[NinjaScriptProperty]
[Display(Name = "Minutes To Expire", Default=5)]
public int ExpireMinutes
so, no need to additionally initialize that variable with:
public int ExpireMinutes = 5;
=================================
please send these suggestion to dev.team, hope you will see the profitability of these things.

Comment