I also have this part resolved like this in properties;
[NinjaScriptProperty]
[XmlIgnore]
[TypeConverter(typeof(NinjaTrader.Gui.Tools.Instrum entSelector))]
[Display(Name="Instrument to work", GroupName = "Instrument", Order = 45)]
public NinjaTrader.Cbi.Instrument InstrumentInput
{ get; set; }
The problem is that it does not save the selection once I close and open NinjaTrader, if I enter the strategy or edit it, it does retain that value, but if I close and reopen NinjaTrader, it has not saved it and the value appears empty.
Also for this reason I get the following error in the log when starting Ninja
Error on getting property 'InstrumentInput' for strategy '/258848593/258848593': Object reference not set to an instance of an object.

Comment