When I reference Closes[0][0], sometimes it refers to the open bar and sometimes the bar before the open bar. The reference can be triggered by a button on the chart. i.e. update or from the code on a firstTick/OnBarUpdate event. -- i.e. i have a manual override to calculate the strategy instead of waiting for the next firsttick.
So the question is, can the Closes[0][0] sometimes refer to an open bar and sometimes the 1st closed bar, given the different sources of the call. Are there any reasons I wouldn't betting getting the open bar at all times with Closes[0][0]?
Thanks
Rich
Comment