... if (BarsArray[0].Instrument.MasterInstrument.Compare(Close[0], Open[0]) == 0) ...
... if (Bars.Instrument.MasterInstrument.Compare(Close[0], Open[0]) == 0) ...
access the Instrument.MasterInstrument instead of going directly to Instrument.MasterInstrument?

Comment