I'm developing a strategy that gets it signals from an indicator.
When the Strategy OnBarUpdate() is called, can I assume the indicator has already done its calculation and when the strategy will call the indicator, to gets its data, the OnBarUpdate() of the indicator was called?
I tried to run it with a debugger and it doesn't look to be in sync.
This mean that I have to put all the Indicator logic in the strategy?
I'm a little confuse about it.
Tx in advance!
Comment