I am trying to create a parameter to allow selection of an instrument, but it's not working yet...
[NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name="Instrument 2", Description="Name of instrument 2, e.g. CL 11-16", Order=7, GroupName="NinjaScriptStrategyParameters")]
public NinjaTrader.Cbi.InstrumentList Instrument2
{ get; set; }
[...]
AddDataSeries(Instrument2.ToString(), Data.BarsPeriodType.Minute, 60, Data.MarketDataType.Last);
Any ideas on how to do this?
Thanks!
Bryan

Comment