But if the indicator was created in some folder (inside the main indicators folder) then the export fails with error CS0234. Example output is:
Error compiling export assembly: .......(32,33) : error CS0234: The type or namespace name 'TestIndicator' does not exist in the namespace 'NinjaTrader.NinjaScript.Indicators.TestFolder' (are you missing an assembly reference?)
If I manually add the indicator in the exporting window then everything works well. But, first of all, it's very inconvenient (I have a strategies that include >20 indicators and it's really hard to check them all manually) and also I can't understand why it doesn't work as with the indicators that are placed in the main indicators directory.
I attached an example. If you install it, you will have a strategy "tmp" and an indicator "TestIndicator" in the "TestFolder" folder. Just try to export it selecting only the strategy and you wil get the error.
Hope for a solution.

Comment