NinjaTrader AI Prompt Library
A curated library of safe, useful AI prompts for NinjaTrader 8 traders using CrossTrade MCP. Each card lists the use case, required scope, risk level, what the agent may call, what it must not call, expected output, and the failure modes worth knowing about.
Start with read-only prompts
Every workflow on this page is designed for mcp:read unless it explicitly says otherwise. Read-only is where to start every account, every session, and every prompt iteration.
Pre-session brief
Use case: Confirm account state before trading.
Required scope: mcp:read
Risk level: none
Agent may call: ListAccounts, GetConnections, ListPositions, ListOrders, GetAccountSummary, GetWatermarks.
Agent must not call: any write tool.
Expected output: short paragraph plus tabular summary.
Failure modes: add-on disconnected; account not connected.
Last 20 trades
Use case: End-of-session review.
Required scope: mcp:read
Weekly review
Use case: Catch setup decay.
Required scope: mcp:read
Single signal diagnosis
Required scope: mcp:read
Daily audit
Required scope: mcp:read
Single incident
Required scope: mcp:read
Funded daily-loss guard
Required scope: mcp:read
Confirmed limit order
Required scope: mcp:trade
Risk level: medium. Confirmation gated.
Failure modes: max contracts, daily loss lockout, instrument not subscribed.
Confirmed stale-order cleanup
Required scope: mcp:trade
Compile loop
Required scope: mcp:trade
From plain-English idea to verified NT8 strategy
The vibe coding workflow is the trader version of natural-language software development. The agent translates a strategy idea into NinjaScript, compiles it inside NT8, repairs errors, runs a Strategy Analyzer backtest, and stops at the doors that matter until you confirm. See the vibe coding page for the full pattern.
1. Turn an idea into a NinjaScript implementation plan
Required scope: mcp:read
Risk level: none
Recommended account: any. Plan only; no code yet.
Confirmation required: no
Expected MCP tools: GetNinjaScriptHelp, SearchNinjaScriptSymbols, LookupNinjaScriptSymbol
Expected output: a plan with the NT8 types and methods the agent intends to use, plus the chosen overloads.
2. Write the first NinjaScript draft, but do not deploy it
Required scope: mcp:trade
Risk level: low. In-memory compile; no disk write yet.
Recommended account: Sim101
Confirmation required: yes, before WriteNinjaScriptFile
Expected MCP tools: CompileNinjaScript(in_memory: true)
Expected output: the source plus the compile result.
3. Compile this NinjaScript strategy and explain every error
Required scope: mcp:trade
Risk level: low
Recommended account: Sim101
Confirmation required: no
Expected MCP tools: CompileNinjaScript, LookupNinjaScriptSymbol
Expected output: compile diagnostics with each error explained in plain English.
4. Repair the compile errors and summarize what changed
Required scope: mcp:trade
Risk level: low
Recommended account: Sim101
Confirmation required: no
Expected MCP tools: CompileNinjaScript, LookupNinjaScriptSymbol
Expected output: a diff summary of the repairs and a green compile.
5. Run a Strategy Analyzer backtest on Sim101
Required scope: mcp:trade
Risk level: low. No live orders.
Recommended account: Sim101
Confirmation required: no
Expected MCP tools: RunStrategyBacktest, GetMcpJob
Expected output: the metrics block with NetProfit, ProfitFactor, MaxDrawdown, TradeCount, plus pass/fail against your gates.
6. Run a parameter sweep and identify overfitting risks
Required scope: mcp:trade
Risk level: low. Backtest only.
Recommended account: Sim101
Confirmation required: no
Expected MCP tools: RunStrategyBacktest, GetMcpJob
Expected output: top three parameter sets plus an overfitting commentary.
7. Review this strategy for prop firm rule risk
Required scope: mcp:read
Risk level: none. Review only.
Recommended account: the funded account, read-only
Confirmation required: no
Expected MCP tools: GetAccountSummary, GetWatermarks, ListPositions, ListOrders
Expected output: a list of rule risks the strategy could trigger on the given firm.
8. Prepare a Sim101 deployment checklist
Required scope: mcp:trade
Risk level: medium. Pre-deploy gating only.
Recommended account: Sim101
Confirmation required: yes, before DeployStrategy
Expected MCP tools: ListAccounts, GetConnections, ListPositions, ListOrders, GetAccountSummary, GetWatermarks, GetDeployedStrategyState
Expected output: a checklist with each state read and the proposed DeployStrategy parameters.
9. Explain why this generated strategy should not go live yet
Required scope: mcp:read
Risk level: none
Recommended account: any
Confirmation required: no
Expected MCP tools: none required; analysis on the existing backtest results.
Expected output: a candid list of reasons not to deploy.
10. Compare generated strategy behavior to TradingView webhook history
Required scope: mcp:read
Risk level: none
Recommended account: any with prior webhook history
Confirmation required: no
Expected MCP tools: GetSignalHistory, GetJournalTrades, GetActivityLog
Expected output: a comparison of the new strategy's intended behavior vs. the historical webhook strategy's outcomes.
Single backtest plus sweep
Required scope: mcp:trade
Confirmed deployment with gates
Required scope: mcp:trade
Risk level: high. Strict gates and explicit confirmation required.
How to customize for a funded account
- Specify the firm and the drawdown model in the system prompt.
- Provide the dollar amount of the trailing or EOD drawdown.
- Provide the firm's news-window schedule for the day if relevant.
- Set a buffer below the limit at which the agent refuses new trades.
- Forbid automation entirely on firms that prohibit it (Apex).
Frequently asked questions
Are these prompts safe?
Read-only prompts are safe by scope. Trade-enabled prompts depend on the confirmation gates inside them. Read each prompt and edit before granting mcp:trade.
Can I share prompts with my trading group?
Yes. The prompts themselves carry no account-specific data. Replace placeholders before running.
Will more prompts be added?
Yes, on a rolling basis as new tools land in the MCP surface.
Run your first prompt
Read-only journal review is the place to start.