I have 2 indicators - MainIndicator and SourseIndicator - that works together. Main indicator needs to call Sourse indicator through the chart. They are working perfect as unprotected indicators. But when I save Sourse Indicator as protected Assembly, the Main indicator (unprotected) stops working and gives this error:
Error on calling 'OnBarUpdate'method for indicator 'MainIndicator' on bar0: Unable to cast object of type 'NinjaTrader.Indicator.SourseIndicator' to type 'NinjaTrader.Indicator.Indicator'
Comment