2015-10-22 19:07:01:669|3|16|Multiple Bartypes with the same BarsPeriodType were found. Ignoring NinjaTrader.NinjaScript.BarsTypes.DayPlusBarsType
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
Name = Custom.Resource.NinjaScriptBarsTypeDay;
BarsPeriod = new BarsPeriod { BarsPeriodType = BarsPeriodType.Day };
BuiltFrom = BarsPeriodType.Day;
DaysToLoad = 365;
IsIntraday = false;
}
else if (State == State.Configure)
BarsPeriod = new BarsPeriod { BarsPeriodType = (BarsPeriodType)99};//BarsPeriodType.Day };

Comment