TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
NinjaTrader Desktop

NinjaTrader Heikin Ashi Set Up the Bars and Verify a Fill

Quick Answer

In NinjaTrader Desktop, open Data Series and set Type to Heiken Ashi. Choose a time interval. Keep an ordinary chart for the same contract and session alongside it. The built-in bar type averages prices and rounds them to the tick grid. Check actual market data or execution records before treating a displayed price as a fill.

Set up NinjaTrader Heiken AshiCompare the same MES bar

Set the built-in Heiken Ashi bar type

From Control Center choose New → Chart and select the dated contract you want to study. In an existing chart, open Data Series with Ctrl+F. In the Type menu select Heiken Ashi, the spelling NinjaTrader uses, and configure a five-minute interval for this exercise.

Open a second chart using the regular Minute bar type and Candlestick style. On both charts, match the contract, the interval, the Trading Hours template, the connection and Last as the price input. Compare the same completed bar. If you want averaged candles on another bar type, such as Range, check the requirements of a separate Heiken Ashi indicator. NinjaTrader’s ecosystem lists a community indicator for that purpose.

Check a limit price against regular market data

Both charts use the same fictional MES sequence. At A, the 10:35 a.m. ET bar opens at 6,004.00, reaches a high of 6,005.00 and a low of 6,003.50, then closes at 6,004.50. The Heikin Ashi close is the average of those four values, 6,004.25. Its open comes from the previous averaged bar. After several flat bars, that open rounds to 6,000.00 in this example and also becomes the averaged low.

Suppose a 6,001.50 buy limit first became active in the bar at A, after the price jump. The regular last-trade low is eight ticks above the limit. The averaged low plots below it because the calculation includes the older averaged open. That plotted value gives no evidence of an execution. Check the order’s activation time, the actual bid and ask or trade data available in Playback, and the execution list.

The teaching chart applies the standard averages to the same 31 fictional bars and rounds the displayed values to the nearest MES tick. The platform’s history and initialization can affect the first bars you see. Use the Data Box and your regular chart to check the same timestamp on your own data.

The same 31 MES bars with regular and rounded prices

Synthetic Regular MES candles and Rounded Heikin Ashi illustration 5-minute candles. Times are bar closes in ET.

Regular MES candles

Rounded Heikin Ashi illustration

At A the regular bar’s low is 6,003.50. The rounded Heikin Ashi low is 6,000.00. Only the averaged bar reaches below the 6,001.50 limit. Times are New York bar closes.

Keep the chart signal separate from the backtest fill

Write down which series generates the signal and which source the fill model uses. NinjaTrader documents that Standard historical fills use bar OHLC. With the built-in Heiken Ashi bar type, those values have been averaged. Rounding keeps prices on the contract’s tick grid and can still leave a calculated price outside the actual trading range.

If you can express the signal with a Heiken Ashi indicator on an ordinary series, verify that the execution model uses the regular series. For a strategy that needs separate execution data, NinjaTrader documents higher fill resolution where supported and orders submitted to a one-tick series. Replay a short window around the first disputed order and compare the signal time, actual market prices, and the simulated execution.

Sources

Official References

Platform details on this page were checked against these official resources.

NinjaTrader Desktop Heiken Ashi setupConfirm the native bar type, time interval and rounding.NinjaTrader’s Heikin Ashi calculation guideCheck the four formulas and why the chart can differ from market prices.NinjaTrader real-time and backtest fill differencesSee how the source prices and fill model affect testing.Heiken Ashi indicator in NinjaTrader EcosystemCheck the community indicator’s declared bar-type support and rounding.
Related Guides

Keep Building the Rule System

Check NinjaTrader limit-fill assumptions

Find which model treats a touch as eligible.

Review real market data in NinjaTrader Playback

Open the data mode and the matching contract for the order you want to check.

Compare NinjaTrader Renko with ordinary prices

See a separate example of chart construction affecting a historical fill.

Set up Tradovate Heikin Ashi

Find the platform’s Chart Style control and compare averaged closes.

FAQ

Common Questions

Does NinjaTrader Heiken Ashi round to the instrument’s tick size?

Yes for the built-in Heiken Ashi bar type. A third-party indicator can apply different rounding. Check its documentation and the plotted values.

Can a NinjaTrader Heikin Ashi bar extend beyond the regular bar?

Yes. The averaged open can be below the current regular low or above the current regular high, especially after a price jump. Check the ordinary bar and the execution record.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.