I’m hoping to break my indicators and strategies into components so I can easily re-use code & not have to make multiple changes to update similar logic, etc.
My question is, in what order will my indicators and strategies receive OnBarUpdate() events? Is it deterministic or will it be random? I just want the assurance that within a single global OnBarUpdate event, one object will receive data, process/store it, then another object will be able to read that stored data (before the next OnBarUpdate). Another question, how does it affect this ordering when I go from OnBarClose to OnEachTick?
Comment