I get an error when saving the Template: "Object Reference not set to an instance of an object" for any account in the parameter list that has no selected account
No problem with compilation or execution
not sure how to solve it...here is what these parms look like
[NinjaScriptProperty]//[XmlIgnore]
[Display(Name="Copy from this Account ", Order=1, GroupName="1. Replicate ChartTrader")]
[TypeConverter(typeof(NinjaTrader.NinjaScript.Accou ntNameConverter))]
public string p_MasterAccount_Name { get; set; }
[NinjaScriptProperty]//[XmlIgnore]
[Display(Name="To Account 1", Order=2, GroupName="1. Replicate ChartTrader")]
[TypeConverter(typeof(NinjaTrader.NinjaScript.Accou ntNameConverter))]
public string p_AccountName_01 { get; set; }
[NinjaScriptProperty]//[XmlIgnore]
[Display(Name="To Account 2", Order=3, GroupName="1. Replicate ChartTrader")]
[TypeConverter(typeof(NinjaTrader.NinjaScript.Accou ntNameConverter))]
public string p_AccountName_02 { get; set; }
????

Comment