If you create an indicator (called for example MyIndicator) in a new folder (called for example MyFolder) within Indicators, Strategy Builder can not compile any strategy that uses that indicator.
Strategy Builder creates the following statement:
private MyIndicator MyIndicator;
The error is corrected by replacing the wrong line with:
private NinjaTrader.NinjaScripts.Indicators.MyFolder.MyIndicator MyIndicator;
Comment