Build strategies
Define entries, exits, risk controls and configurable parameters. Xen turns the specification into structured NinjaScript strategy code.
AI development for NinjaTrader
Xen is a focused AI workspace for creating NinjaTrader strategies and indicators. Describe what you need in plain English, receive structured C# source code, then refine it through an ongoing project.
Five-minute product overview
See how Xen turns plain-English trading ideas into NinjaScript, plans complex projects, checks generated code and helps repair build errors.
Start buildingAvailable now
The current Xen beta focuses on the core development loop: describe, generate, review and improve.
Define entries, exits, risk controls and configurable parameters. Xen turns the specification into structured NinjaScript strategy code.
Explain the calculations, plots and signals you need and generate a NinjaTrader indicator as readable C# source.
Paste an existing strategy or indicator and ask Xen to explain, modify or repair the source while retaining the project context.
Continue the conversation, request precise revisions and save the resulting project so you can return to it later.
Select from supported coding and reasoning models for each project, balancing capability, response time and usage cost.
See your credit balance in the workspace, receive low-credit warnings and top up securely from £1 with no subscription.
Strategy and indicator conversion
Paste source code or upload a C#, MetaTrader or Pine Script file and Xen will convert the trading tool into NinjaTrader 8 NinjaScript. The dedicated conversion tasks preserve the original behaviour where the NinjaTrader API supports an equivalent.
Preserve entries, exits, risk controls, order management, configurable inputs and calculation timing.
Translate calculations, buffers, plots, visual behaviour and parameters into a NinjaTrader indicator.
Xen explains important mappings and limitations. Compile and compare every conversion in NinjaTrader before use.
Built-in Prompt Builder
When a trading-tool idea needs more definition, Xen can ask up to three focused questions and turn the answers into an ordered Build Plan. This keeps larger NinjaScript projects clear, incremental and easier to test.
Xen asks only the questions that materially affect the implementation.
Receive a sequence of focused prompts, with assumptions clearly identified.
Load each prompt into Xen, then compile and test the result in NinjaTrader before continuing.
Requirements Verification
Go beyond initial code generation with a separate requirements audit. Xen checks the latest complete NinjaScript source against your original request or active Build Plan before you compile and test it in NinjaTrader.
See which requirements are implemented, partially implemented or missing from the generated source.
Identify NinjaScript lifecycle concerns, trading risks and behaviour that must be tested inside NinjaTrader.
Turn incomplete or missing requirements into a targeted repair request without rebuilding the entire project.
A simple workflow
Start a new strategy or indicator, or bring existing source code.
Give Xen the trading rules, parameters and changes you require.
Inspect the formatted response and request further modifications.
Copy the source into NinjaTrader, compile it and validate its behaviour.
Model choice
Move between supported OpenAI, Anthropic and DeepSeek models from the workspace. Your selection is remembered when you return.
Questions
You can describe a project in plain English, but some NinjaTrader and trading-system knowledge is important when reviewing and testing it.
Not in the current NinjaTrader beta. Xen generates and revises the source; you compile and test it inside NinjaTrader.
Yes. Xen saves project conversations and generated responses so you can reopen them and request further changes.
No. Xen assists with software development. Generated code and trading logic must be independently reviewed and tested before use.
NinjaTrader Xen beta
Create an account, select a task and describe what you want to build.
Create account