......
if (this.listAll != null)
{
this.listAll = null;
}
string MyList = "MyAtivosCompra";//an existing list in NT
this.listAll = new NinjaTrader.Cbi.InstrumentList();
this.listAll = NinjaTrader.Cbi.InstrumentList.GetObject(MyList);
foreach (Instrument i in listAll.Instruments)
{
Print("all " + i.FullName);//it is ok!
}
As I said this is working fine but I would like to load all Instrument lists such as Default, etc, and then select the one I want to use. Any ideas?
Comment