DancesWithBears
08-23-2009, 05:25 PM
I have two Custom Indicators.
The first indicator does calculations needed by the second indicator when it gets called by OnBarUpdate()
The problem what I am having is that it looks like each indicator gets called with OnBarUpdate for all the bars,
then the Next indicator.
A:OnBarUpdate()
A:OnBarUpdate()
B:OnBarUpdate()
B:OnBarUpdate()
B needs to see A's state when it's OnBarUpdate is called.
How do I do this?
The first indicator does calculations needed by the second indicator when it gets called by OnBarUpdate()
The problem what I am having is that it looks like each indicator gets called with OnBarUpdate for all the bars,
then the Next indicator.
A:OnBarUpdate()
A:OnBarUpdate()
B:OnBarUpdate()
B:OnBarUpdate()
B needs to see A's state when it's OnBarUpdate is called.
How do I do this?