ProtectedIndicator pi = ProtectedIndicator();
This works when i use the source code of the protected indicator, so the syntax is valid. However when I try it on another PC with the protected compiled indicator, I get an error:
Ninjatrader.Indicator.ProtectedIndicator is a type but is used like a variable.
From what I understand, when we create an indicator Ninjatrader will create helper methods to allow one to just do EMA(20) for example. But if the indicator is protected, it seems these methods are not available.
Am I doing something wrong? Is it possible for an indicator to use another protected indicator?
Comment