In the OnBarUpdate function, I'm able to access data in the 5-minute chart, but unable to get data for the 125-tick chart.
My understanding is the the BarsArray object is zero based with the first item being the primary bars.
Below is the code snippet I'm using. I'm getting the error on the third Print statement.
So my main question is why the second instrument(125-Tick), not being populated correctly. When I check the Length property of the BarsArrary object it's reporting 3.
In my Initialize function I have the following
See Attachment
Comment