I've done some tests that indicate me that depending on the Calculate setting accessing the index [0] points to a different bar.
1. Calculate.OnBarClose ->> inside the OnBarUpdate method, [0] points to the recently closed bar, not to the recently opened new bar.
2. Calculate.OnEachTick ->> inside the OnBarUpdate method, [0] points always to the current bar regardless is closed or still developing. This means that you'll never get the recently closed bar values accessing through the [0] index.
This creates an inconsistent behaviour using the series indexes [0] ...
Am I correct?
(I've read and reread all the docs several times and multiple posts)
Comment