if (State == State.DataLoaded)
if (BarsPeriodType == BarsPeriodType.Minute)
{
Draw.TextFixed(this, "tag1", "Chart must be a minute based chart.", TextPosition.BottomRight);
}
}
a.) is this the right place to check and
b.) is there some other way since this is returning an error: 'NinjaTrader.Data.BarsPeriodType' is a 'type' but is used like a 'variable'

Comment