looking for some clarification from engineering regarding @BarsType.cs
inside of the Add() method, which is called on each tick, there are two methods used to populate bars: AddBar() and UpdateBar().
both take a volume parameter.
two questions:
- does the volume passed to AddBar() set/update bar.Volume? or does it add the volume passed to the current bar.Volume?
- same question for UpdateBar()
i don't think it matters whether it sets or appends for the AddBar, since that should only be called on a new bar, meaning bar.Volume would be 0.
but the specific implementation would make a difference for UpdateBar since bar.Volume would presumably be > 0 when one invokes UpdateBar.
thanks in advance for clarifying.
cheers,
-e
Comment