The default Series size is 256. When the size bound is crossed, it behaves as a round/circular buffer. But the older data/position is not initializes to default (like 0, false as is usually in C#), whatever older data still remain.
Is my description above as far correct?
If yes, how to initialize to default values (like 0, false) before working on it? I note that I can't use null check (assuming Series contains a class var), as it'll be always not null after the 1st pass through the 256 size.
I also note that I can get around the problem by setting the Series to MaximumBarsLookBack.Infinite, but assuming I want to minimize memory usage & leave it at 256 size, how?
Appreciate any idea you can share. Thanks.
Comment