The indicator compiles correctly, but for some reason I can not export it. I keep getting an error.
I opened the log file and this is what I see:
2017-01-30 21:27:22:882|2|4|Error compiling export assembly: c:\Users\user1\OneDrive\Documents\NinjaTrader 8\bin\Custom\Indicators\DAS\aaaZigZagUTCPivot.cs(2 2,7) : error CS0246: The type or namespace name 'PriceActionSwing' could not be found (are you missing a using directive or an assembly reference?)
2017-01-30 21:27:22:882|2|4|Error compiling export assembly: c:\Users\user1\OneDrive\Documents\NinjaTrader 8\bin\Custom\Indicators\DAS\aaaZigZagUTCPivot.cs(9 6,15) : error CS0246: The type or namespace name 'SwingStyle' could not be found (are you missing a using directive or an assembly reference?)
2017-01-30 21:27:22:882|2|4|Error compiling export assembly: c:\Users\user1\OneDrive\Documents\NinjaTrader 8\bin\Custom\Indicators\DAS\aaaZigZagUTCPivot.cs(1 39,17) : error CS0246: The type or namespace name 'SwingProperties' could not be found (are you missing a using directive or an assembly reference?)
2017-01-30 21:27:22:882|2|4|Error compiling export assembly: c:\Users\user1\OneDrive\Documents\NinjaTrader 8\bin\Custom\Indicators\DAS\aaaZigZagUTCPivot.cs(1 43,17) : error CS0246: The type or namespace name 'SwingCurrent' could not be found (are you missing a using directive or an assembly reference?)
2017-01-30 21:27:22:882|2|4|Error compiling export assembly: c:\Users\user1\OneDrive\Documents\NinjaTrader 8\bin\Custom\Indicators\DAS\aaaZigZagUTCPivot.cs(1 47,17) : error CS0246: The type or namespace name 'Swings' could not be found (are you missing a using directive or an assembly reference?)
Any clues what is the problem? I was able to export the same indicator successfully on NT 7. Once I upgraded the code to NT 8 I can not export the code anymore.
Thanks

Comment