NinjaTrader 7 Continuous Contracts - NinjaTrader | futures.io
futures.io futures trading


NinjaTrader 7 Continuous Contracts
Started: by grausch Views / Replies:215 / 2
Last Reply: Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

NinjaTrader 7 Continuous Contracts

  #1 (permalink)
Elite Member
Luxembourg, Luxembourg
 
Futures Experience: Advanced
Platform: TWS
Broker/Data: Interactive Brokers
Favorite Futures: Stocks
 
Posts: 444 since May 2012
Thanks: 1,523 given, 970 received

NinjaTrader 7 Continuous Contracts

Hi,

I am busy looking at backtesting certain strategies in NinjaTrader and I could not find any reference to how historical prices are handled within Ninja.

I am using DTN IQ data, and based on the historical data manager, it looks like the data for each contract (I have gone back to 2011) is shown with actual prices. I am planning on backtesting over longer periods, so I would need either a) continuous contracts to avoid the roll-over gaps (preferred method), or b) a method to identify when the contract has changed from the older to a newer contract.

Would appreciate it if someone can provide some insight into whether NinjaTrader can create a continuous contract from all of the DTN data, or if DTN already has this in their database. If DTN already has this in their database, how would I load this into Ninja?

Thanks in advance.

Reply With Quote
 
  #2 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, CL, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,660 since Sep 2013
Thanks: 1,224 given, 2,509 received
Forum Reputation: Legendary


grausch View Post
Hi,

I am busy looking at backtesting certain strategies in NinjaTrader and I could not find any reference to how historical prices are handled within Ninja.

This is probably what you are looking for :


Quoting 
Yes, this is as expected. NinjaTrader merges data automatically when you request historical data that spans multiple expiries (depending on the 'Merge policy' setting). Go to Control Center-->Tools-->Instrument Manager, highlight an instrument and click Edit. Check what setting is used for 'Merge policy'.

If enabled and you request historical data that spans across multiple expiries, it will automatically merge data from previous expiries in the chart. It will be merged as per the rollover dates that are setup.

If disabled (DoNotMerge) you will only load historical data for the expiry in question.

You can check the rollover date as follows. Please go to Control Center-->Tools-->Instrument Manager. Highlight an instrument in the 'Available master instruments' section and click Edit once more.

Subsequently select the Misc-tab and scroll to the bottom. Select the 'Contract months' row and click the '...' button that appears. Select an expiry month and you will see a rollover date listed. You can change the rollover date if you like.

For example, the ES 06-13 expiry is using a rollover date of 3/7/2013. This means historical data before this date will be loaded from the 03-13 expiry and so on.

If you like to load continuous data, you will need to use the ##-## expiry. So highlight the ES and set Expiry to ##-## in the Instrument Manager and click the arrow pointing to the left.


Reply With Quote
The following user says Thank You to rleplae for this post:
 
  #3 (permalink)
Elite Member
Luxembourg, Luxembourg
 
Futures Experience: Advanced
Platform: TWS
Broker/Data: Interactive Brokers
Favorite Futures: Stocks
 
Posts: 444 since May 2012
Thanks: 1,523 given, 970 received


@rleplae,

Thank you - Using ##-## creates a contract that look to be continuous.

Reply With Quote
The following 2 users say Thank You to grausch for this post:

Reply



futures.io > > > > NinjaTrader 7 Continuous Contracts

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuous Futures Contracts steve2222 Terms (Glossary) 0 July 4th, 2016 04:05 AM
Continuous Contracts steve2222 Terms (Glossary) 0 July 4th, 2016 04:04 AM
Back-adjusted, Continuous contracts - best for support and resistance? Big Mike Traders Hideout 23 September 1st, 2015 01:51 PM
continuous futures contracts br8080 Traders Hideout 3 April 15th, 2015 05:26 PM
Sierra Chart continuous contracts Big Mike Sierra Chart 4 September 16th, 2011 01:33 AM


All times are GMT -4. The time now is 02:30 PM.

no new posts
Page generated 2017-01-22 in 0.08 seconds with 20 queries on phoenix via your IP 54.92.229.162