I am writing a custom indicator which is inherited from an existing Indicator which is compile in a DLL.
So far my inherited indicator is working as expected. I am trying to add Bollinger Bands but when i do that i receive an error "NinjaTrader.NinjaScript.Indicators.Bollinger is a type but is used like a variable.
This is my code
Bollinger _bb = Bollinger(Volume, 1, 20);
This code works well in my own custom indicator which is inherited from Indicator class, the default way of writing indicators..
I guess i am missing some reference...
Does anyone have suggestion?
Regards,
Francis
Comment