Skip to content

Building Indicators

Select Build Indicator to create a new NinjaTrader 8 Indicator. A good request describes both the calculation and the intended visual output. State whether the Indicator belongs on the price panel or in a separate panel, and explain the plots, markers, colours or reference levels that matter. Standard indicator names such as RSI, EMA or ATR have recognised baseline behaviour. A custom idea needs a clearer formula, including the price series, lookback period, smoothing and the condition that changes each output.

Build a NinjaTrader Indicator with AI

Watch this 3-minute video to see how Xen turns a trading idea into a NinjaScript indicator.

Tip: Set the video quality to HD (1080p) for the best viewing experience.

Using a visual reference

Supported models can accept a PNG, JPEG or WebP chart image. The image can communicate plot colour, line style, marker placement, panel location and approximate visual behaviour. Add written instructions describing the calculation because a chart cannot reveal an exact formula or proprietary algorithm. Xen displays the attached image before submission and records it with the user request. If the selected model does not support images, the upload control explains which model must be chosen.

Review the result

The response contains one complete Indicator source file. Use the end-of-response controls to copy it, download the .cs file or run Build Check. After a successful check, Download Add-On creates a NinjaTrader ZIP that can be imported without manually pasting the source. Whichever installation method you use, compile the Indicator in NinjaTrader before applying it to a chart.

Compare the output with the intended calculation across more than one instrument and timeframe. Check the first available bars, real-time updates and any behaviour that depends on Calculate.OnEachTick or Calculate.OnPriceChange. For a targeted change after testing, continue in the same project or use Existing Indicator with the latest complete source.