Automated Strategy

I am having trouble importing my automated code I have built this system with the help of Cursor AI when.

Here is whats going on I click “new” then click “chart” then select my “instrument” and click “ok” then I click “strategies” and and it loads It shows the code I see now errors. But NinjaTrader Ai assistant says to click the “microsoft visual studios” and I do, but I see now errors there either, so I go back to NinjaTrader I see my strategy code loaded in and right click and see “compile” is grayed out - I cant click it. I sent a message to support and they didnt even help much at all. any help would be great

Use Visual Studio Community. Attach a debugger and you will most likely see where it’s breaking when you run your strategy with the debugger attached.

https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?visual_studio_debugging.htm

1 Like