I want to clone the NT8 TrendLines indicator and make some changes to it...
After I save this indicator to a AATrendLines then try to compile it....I get these errors
---------------------------------------------------------------------------------------------------------------------------------------------------
The best overloaded method match for 'NinjaTrader.NinjaScript.Indicators.AATrendLines.T rendQueue.TrendQueue(NinjaTrader.NinjaScript.Indic ators.TrendLines, int)' has some invalid arguments
Argument 1: cannot convert from 'NinjaTrader.NinjaScript.Indicators.AATrendLines' to 'NinjaTrader.NinjaScript.Indicators.TrendLines'
---------------------------------------------------------------------------------------------------------------------------------------------------
on this statement in OnStateChanged
trendLines = new TrendQueue(this, NumberOfTrendLines);
It seems this is a scope issue with Public ?
But, I'm not sure how to fix it...
????
Thanks
Comment