By default, the primary instrument of the indicator will be the series that the indicator is added to and also by default this will be the data series in panel 1.
Instrument.FullName, Closes[0], BarsInProgress 0, BarsArray[0], CurrentBars[0] will all refer to this primary instrument.
Are you wanting to get the instrument of panel 2?
Try using:
ChartControl.BarsArray[1].Bars.Instrument.FullName
Leave a comment: