I´m using for years my simple indicator showing me the instrument and the period directly in the chart.
DrawTextFixed("Instrument", Instrument.MasterInstrument.Name.ToString() + ", " + BarsPeriod.Value, + BarsPeriod.BarsType, TextPosition.BottomLeft,Color.Black, new Font ("Arial",10), Color.Black,Color.White,10);
When adding here the BarsType I get errormessages when compiling whatever I try from the link https://ninjatrader.com/support/help...barsperiod.htm
Thank you!
Tony
Comment