NT8 output window:
Indicator 'MyDrawRegionTest': Error on calling 'OnBarUpdate' method on bar 0: The calling thread cannot access this object because a different thread owns it.
It is the DrawRegion command that is the issue... I'm not sure if it's complaining about "this" or myDataSeries1/2.
And I'm not sure which thread owns what where.
I'm at a loss.
Draw.Region(this, "Zone1", CurrentBar, 0, myDataSeries1, myDataSeries2, Zone_1_Border, Zone_1_Color,Opacity );
Comment