Trying to use this in a strategy in NT8, but it's not allowing the strategy to be enabled. Here is the error I'm getting:
5/29/2020 11:52:50 AM,Default,Indicator 'amaRegressionChannel': Error on calling 'OnStateChange' method: Attempting to access D2D Factory from non UI thread. Attention NinjaScript Developers: As of 8.0.19 we've found that this causes performance degradation please search 'D2DFactory' in help guide for more information.,
Not able to find much info in the help guides and would love to use it in a strategy. Works great as an indicator.
Thoughts?
I'll include 2 zip files. One that works because it doesn't include Regression Channels and one that doesn't, because it has 1 line that calls out Regression Channels.