Paste a NinjaScript indicator or strategy and get feedback on structure, common pitfalls, and performance issues before you compile.
Paste a NinjaTrader 8 indicator or strategy, or drop in a .cs file or a NinjaTrader export .zip, and this tool checks it against about thirty common NinjaScript pitfalls: work done in the wrong State, missing bar checks, objects and drawings created on every bar, resources that are never cleaned up, and patterns that are a common cause of high CPU or growing memory. Each finding comes with its line number, a plain-English explanation and a short fix.
It catches common patterns, not logic errors. It doesn't compile or run your code, can't tell whether your entries make sense, and a flagged pattern isn't always a problem in context. Your code and files stay in your browser: nothing is uploaded.
Drop a .cs file or a NinjaTrader export .zip hereor
Files are opened in your browser, not uploaded. Up to 5 MB. In NinjaTrader, exports come from Tools → Export → NinjaScript Add-On.
Your code stays in this browser tab. It isn't uploaded, stored or sent anywhere; the checks run on your own device.
This file only contains NinjaTrader's auto-generated wrapper code for a compiled (protected) indicator. The actual logic is in a compiled .dll, so there's nothing to review here. Don't edit this file.
You can't see its code, but you can check how it behaves: use the NinjaScript Utilization Monitor to compare its processing time with your other indicators, watch NinjaTrader's memory in Windows Task Manager, check the Log and NinjaScript Output tabs for errors, and test it on Playback or a sim account before using it live. If something's wrong, contact the vendor.
Paste the prompts below into any AI assistant, such as Claude, ChatGPT or Gemini, or into a local AI model running on your own computer (e.g. via Ollama or LM Studio) if you'd rather your code never leaves your machine. The reviewer keeps your code in your browser; if you paste it into an online AI assistant, it's shared with that service. With local models, review quality depends on the model you use and your computer's power: larger models can be very capable, while smaller ones may miss issues in complex scripts.
Copy both prompts below, the review prompt and the fix prompt, and paste them together into your AI assistant of choice. It will review the script first, then return a corrected version.
Back up your original script first. Paste the fixed code back into this reviewer to check it, then compile and test on a sim account or Playback before using it live. Check the licence of third-party scripts before modifying them.
A pattern match tells you where to look, not whether a script is actually slowing NinjaTrader down. To measure that, use NinjaTrader's own tools:
A useful test is to remove the suspect script, restart NinjaTrader, and compare the same session with and without it.