if (State == State.Configure)
{
AddDataSeries(null, new BarsPeriod() { BarsPeriodType = BarsPeriodType.Minute, Value = 1440 }, MySelectedTradingHoursTemplate);
}
..........
[NinjaScriptProperty]
[PropertyEditor("NinjaTrader.Gui.Tools.[B]TradingHours[/B]")] // What do I need to set here ?
[Display(ResourceType = typeof(Custom.Resource), Name = "Session Name", GroupName = "NinjaScriptParameters", Order = 1)]
public String MySelectedTradingHoursTemplate
{ get; set; }
There is an existing dropdown in the data series settings, so hope this is also available in the indicator and strategy Properties..Many thanks in advance for the help!
Wes

Comment