Skip to main content
Black Friday25% off your first year of WiSE, SweepScope or All Access on an annual plan. Through December 1.See the plans
All posts
Blog

NinjaTrader Rollover: How to Roll a Futures Contract, and Why the Prompt Keeps Coming Back

How futures rollover works in NinjaTrader 8: where the rollover date comes from, batch and manual rollover, what Merge Policy does to your chart and drawings, why strategies do not roll, and what to check when the rollover prompt comes back after you said yes.

Wizdough7 min read

Every quarter the same threads show up on the NinjaTrader forum. Someone approves the rollover prompt, restarts, and gets asked again. In one thread the prompt kept coming back for MNQ after every other contract had rolled. In another, a trader who trades RTY and M2K was asked to roll ES, a contract they had not opened, and the prompt returned for every workspace. A third asked a simpler question: when does the rollover actually start?

The December equity index roll is two weeks away. Below is how rollover works in NinjaTrader 8, with the help guide page behind each step, and the one problem the help guide does not cover.

Where the rollover date comes from

Each futures instrument in NinjaTrader keeps a list of contract months. The help guide page Editing Instruments says that list, with its rollover dates, is downloaded from the NinjaTrader server whenever you are connected to your live data feed or the Simulated Data Feed.

To see the dates for your instrument:

  1. In the Control Center, open Tools, then Instruments.
  2. Select the instrument, for example ES, and click Edit.
  3. Scroll to Contract months and open the list.

Each row has a contract month, a rollover date and an offset. The same page adds a detail that trips people up: the rollover date is the date to roll into that contract month, not out of it.

You can edit these rows, and the page has a warning about the offset. If you type your own Offset value, it is overwritten by the server's value when the server has one. Offsets are only downloaded when the Offset field is blank and the rollover date matches the server's date, so to keep your own offset, the page says your rollover date must differ from the server's.

Where NinjaTrader keeps the rollover date: Control Center, Tools, Instruments, select the instrument, Edit, then Contract months. Each row holds a contract month, a rollover date and an offset. The rollover date is the day you roll INTO that month. The list comes from the NinjaTrader server when you connect to a live or simulated feed.

The date itself

For the equity index futures (ES, NQ, YM, RTY and their micros), CME publishes a customary roll date on its roll dates page. In recent quarters it has been the Monday of expiration week. The December 2026 contracts expire on Friday, December 18, and published 2026 roll calendars put the roll on Monday, December 14. Check CME's page and your own Contract months list before you roll, because the two do not always match.

They did not match in September. In a forum thread from that week, one vendor wrote that NinjaTrader was set to roll ES, NQ, RTY and YM on four separate days spread over the week, while CME's customary date was a single Monday. The same vendor noted that the prompt fires at midnight local time on the rollover date, not at the start of that trading session, which for a Monday roll is Sunday evening. Another trader wrote that they switch their traded contracts by hand the Sunday before expiration. None of these points is in the help guide, so treat them as reports from users, not as documented behavior.

Two ways to roll

Batch rollover

The help guide page Rolling over a Futures Contract describes it:

  1. In the Control Center, open Tools, then Database Management.
  2. The Rollover futures instruments grid lists each instrument that can be rolled. A contract becomes eligible when today's date is on or after the rollover date of its next contract month.
  3. Check the instruments in the Update column and press Rollover.

That updates the expiry in every instrument list and every window, on all open workspaces. Two notes from the same page matter more than the steps:

  • The changes on workspaces need to be saved if you want to keep them.
  • NinjaScript strategies are not rolled forward. You roll them yourself.

Manual rollover

You can also roll one window at a time by typing the next expiry into that window's instrument selector, for example from "ES 09-16" to "ES 12-16". The page suggests this when you only want to roll part of a workspace.

What Merge Policy does to your chart

A chart that spans a roll has data from two contracts. The Merge Policy setting, in the Market data category of NinjaTrader's settings, decides how they are joined:

  • "Merge back adjusted" joins each contract on its rollover date and uses the offset to shift the older prices, so the chart reads as one continuous series.
  • "Merge non back adjusted" joins them on the rollover date without the offset. The prices stay raw, so the chart can show a large gap at the roll.
  • "Do not merge" shows only the contract you selected. The chart may go back less far than you asked.

Three Merge Policy settings for a chart that crosses a roll. Merge back adjusted shifts the old contract by the offset, so the line is continuous. Merge non back adjusted keeps raw prices, so there is a gap at the roll date. Do not merge shows only the selected contract, so the chart starts where that contract's data starts.

The offset is the difference between the two contracts. The Editing Instruments page says NinjaTrader downloads it from the server when it can. If the Offset field is blank, Merge back adjusted is on, you are connected, and both contracts have data near the roll, it calculates it locally from the close of the new and old contract one day before the rollover date, using daily data, or minute data if your provider has no daily data. If neither is offered, the offset defaults to 0.

Your drawings after a roll

The rollover page explains why lines can look wrong after a roll. Drawing objects stay at the price where you placed them. With Merge back adjusted, the older bars shift by the offset, so the bars move away from your drawings. With Merge non back adjusted, the older prices stay the same, and the drawings stay with their bars. The page also warns that if you close the chart and open a new one instead of rolling it, the drawings are lost.

When the prompt keeps coming back

The help guide has no answer for this one.

The batch rollover changes windows on the workspaces that are open. Workspaces that are not open are not mentioned on that page, and the changes on open ones have to be saved. In one of the forum threads, the prompt for ES kept coming back for a trader who did not trade ES. Saving their own workspace with the December contract did not stop it. What did was opening the "Futures" workspace in Default Workspaces, which has ES on its charts, then closing and saving it. Another trader in the same thread suggested disabling the Default Templates folder might help, but could not recall where that setting is. So a closed workspace that still holds the old contract is the first thing we would check.

If it keeps coming back:

  1. Roll in Database Management, then save every workspace you have open.
  2. Open each saved workspace, including the default ones, check the instruments in its windows, and save it again.
  3. Check that strategies you run use the new contract. They do not roll on their own.

In other threads, one trader said they were told to rebuild the database, and another suggested clearing the cache and db folders. Back up first if you try that, because those folders hold your data. We have not found a documented cause that covers every case. If none of the steps above work, write to NinjaTrader support.

A checklist for December

  1. In Tools, Instruments, Edit, check the rollover date for the next contract month, and compare it with CME's roll dates page.
  2. Decide on your Merge Policy before the roll, and know what it will do to your drawings.
  3. On the roll date, roll in Database Management, then save each open workspace.
  4. Roll your strategies by hand.
  5. If the prompt returns, check the workspaces that were closed during the roll. If it still returns after that, we would like to hear what fixed it, through our contact page.

Futures trading involves substantial risk of loss and is not appropriate for all investors. Rollover dates and behavior can change; check NinjaTrader and CME before you act.

Share
Email updates

Get the trading tool updates.

New releases, setup guides, and the occasional NinjaTrader tip. About once a week.

We keep your address in our own database and send from team@news.wizdough.com. Replies go to support@wizdough.com. Read how we handle your data in our Privacy Policy.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.