Aside from the code highlighting and intellisense differences, it's easier to debug when you're not switching back to the NinjaTrader Editor to compile each change.
1) Navigate to "Documents\NinjaTrader 6.5\bin\Custom\"
2) Open the "NinjaTrader.Custom.csproj" project in Visual Studio.
3) Add to the project any .cs files you've produced that are located in the "Strategy" and "Indicator" directories.
4) You will need to remove the references to "NinjaTrader.Core" and "WilsonORMapper", and add them as .DLL references (both are located in "Program Files\NinjaTrader 6.5\bin")
5) This project now compiles to "NinjaTrader.Custom.dll". After you compile the project, however, NinjaTrader still won't be aware of any changes because it has to reload the library. To accomplish that, I found it is easiest to just create an empty indicator in the NinjaTrader Editor and compile it each time you compile the VS project.
I've only been using NinjaTrader for a few days, so it's likely this isn't the most optimal way to use VS, but I will post any refined methods to this thread.
Comment