- If I need a collection of values that always has the same length as bars on chart, I better use one of the Series type collections.
- When using any of the built-in Series collections, OnBarUpdate is executed automatically when accessing the Series variable from a strategy.
- If I need a collection that does not hold the same amount of values as bars on chart, I can freely do so with generic lists (for example).
- If I need to access a collection variable (which is not a Series type variable) from a strategy, I can do so but I will have to add Update() to the variable get property in order to explicitly execute OnBarUpdate() because it won't be called automatically.
Comment