AddDataSeries("MNQ 12-20", Data.BarsPeriodType.Tick, 1, Data.MarketDataType.Last);
I want to create an exit if the primary instrument NQ 12-20 trades below the ATR trailing stop.
if (BarsInProgress == 1)
&& Closes[0][0] <= AtrTrailingOnClose1.Upper[1])
&& Position.MarketPosition == MarketPosition.Long)
Will this reference the AtrTrailingOnClose1 from the primary chart?
I wasn't sure and tried... AtrTrailingOnClose1.Upper[0][1] this caused errors when compiling.
Comment