I trying to import strategy that use 10+ indicators, including 2 well-know Lizard's indicators amaZerolagTEMA and amaZerolagHATEMA
Importing process ended with error messages:
Error compiling import assembly: c:\Users\username\Documents\NinjaTrader 8\tmp\Import\Files\bin\Custom\Indicators\amaZerola gTEMA.cs(54,15) : error CS0101: The namespace 'NinjaTrader.NinjaScript.Indicators.LizardIndicato rs' already contains a definition for 'amaZerolagTEMA'
Error compiling import assembly: c:\Users\username\Documents\NinjaTrader 8\tmp\Import\Files\bin\Custom\Indicators\amaZerola gHATEMA.cs(54,15) : error CS0101: The namespace 'NinjaTrader.NinjaScript.Indicators.LizardIndicato rs' already contains a definition for 'amaZerolagHATEMA'
All other indicators are exist in my system too, but all of them were replaced with no errors (including built-in indicators).
One only difference I see between LizardIndicators and others - LizardIndicators have their own folder (namespace):
NinjaTrader.NinjaScript.Indicators.LizardIndicators
So, want to ask: is there any safe way to export or to import, or to change something in code to get importing without errors?
I see now only 2 ways for my custom addon packs:
- Do not use folder (sub-namespaces) (ugly way).
- To create copies of all used indicators and to put all of them in separate folder.
This not let to avoid errors, but can help to import manually.
And this way will not work for dll import.
May be, I miss something?
I searched forum and manual and didn't find solution.
Comment