Initialize:
Add(FirstInstrument, BarsPeriods[0].Id, BarsPeriods[0].Value);
Add(SecondInstrument, BarsPeriods[0].Id, BarsPeriods[0].Value);
OBU:
a= GetCurrentBid(1);// bid of second instrument
B= GetCurrentBid(0);// bid of first instrument
OR
a= GetCurrentBid(1);// bid of first instrument
B= GetCurrentBid(2);// bid of second instrument
Hi which one is the correct way to access the data series under initialize?
Comment