NinjaTrader 8 source checks
Checks C# compiler errors and the NinjaScript API surface supported by the pinned reference profile for one Indicator or Strategy.
The Pineify NinjaScript syntax checker MCP runs an external static/API compile check on one complete NinjaTrader 8 Indicator or Strategy source. It returns structured C# and supported NinjaScript API diagnostics without executing the code or changing the source.
ninjascript-syntax-checkerExample prompt
Use Pineify to check this complete NinjaScript Indicator and explain every diagnostic by row and column.
Direct answer
Send one non-empty code string containing the complete source for a NinjaTrader 8 Indicator or Strategy. The checker accepts up to 524,288 UTF-8 bytes in one request.
The result separates source errors from timeout and system failures. Each source diagnostic contains a row, column, and message for focused review.
This is an external check against a pinned compiler, NinjaTrader reference profile, and compile adapter. It is not the NinjaTrader Editor native compile and does not reproduce generated-wrapper or full custom-library behavior.
Contract
Capabilities
Checks C# compiler errors and the NinjaScript API surface supported by the pinned reference profile for one Indicator or Strategy.
Returns each source error with a positive row, column, and diagnostic message.
Reports timeout and checker system failures separately from source diagnostics.
Checks submitted source without editing it, starting NinjaTrader, running a backtest, or placing an order.
Agent workflow
Give the agent the full Indicator or Strategy source and ask it to call ninjascript-syntax-checker with the code string.
Read isTimeout and isSystemError first. Only treat the errors array as conclusive when both flags are false.
Use each row, column, and message to revise the working copy, then submit the complete source again.
After the external check passes, use the NinjaTrader Editor and appropriate simulation or test workflow to validate native compilation and behavior.
Prompt examples
"Use Pineify to check this complete NinjaScript Indicator and explain every diagnostic by row and column."
"Run ninjascript-syntax-checker on this complete NinjaTrader 8 Strategy source. Do not execute or change the code."
"Check this NinjaScript source, then separate source errors from timeout or system failures."
Operator notes
I send the complete Indicator or Strategy source so the returned row and column positions match my working copy.
I review the earliest useful diagnostic first because one C# syntax error can affect later compiler messages.
I treat a clean external result as a reason to continue with NinjaTrader Editor validation, not as proof of native compilation or trading behavior.
Pineify MCP is an information and code-validation tool, not investment advice. It does not promise returns, place trades, or modify a portfolio. Review timestamps, source fields, code diagnostics, and risk assumptions before acting.
MCP tool family
FAQ
Connect one remote Pineify MCP endpoint, then let your compatible AI client discover this tool with the rest of the read-only catalog.
Open MCP setup