I'm developing a multi-instrument strategy which needs to obtain DonchianChannel's upper and lower values within the "OnPositionUpdate(IPosition position)" method. All the trading logic is processed based on the primary Bars, but I'm entering positions for both--the primary and the secondary Bars instruments: if (altInUse == false) {entryOrder = EnterLong(IQ, "IQ");} else {entryOrder = EnterShort(1, aIQ, "IQ");}. The problem is the following: if I enter a secondary Bars' position: {entryOrder = EnterShort(1, aIQ, "IQ");}, I cannot then obtain the primary Bars DonchianChannel's values within the "OnPositionUpdate()" method--I receive the secondary Bars values. How can I get DonchianChannel's primary Bars values?
Thank you!

Comment