Go Back   NinjaTrader Support Forum > NinjaTrader 7 > Platform Technical Support

Platform Technical Support General platform technical support for NinjaTrader 7.

Thread Tools Display Modes
Old 04-10-2012, 03:33 PM   #1
Junior Member
Join Date: Apr 2012
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default Session template


Sorry for my question but i'm new and i really don't know where can I find the right session template. So it would be very nice, if somebody can write the correct session template for the different markets...


Thanks a lot and greets
Eickola is offline  
Reply With Quote
Old 04-10-2012, 03:56 PM   #2
NinjaTrader Customer Service
NinjaTrader_AdamP's Avatar
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 388 times in 376 posts


If you go to Tools > Instrument Manager > Click an Instrument > Click Edit. The "Session template" field will show what the default and generally correct session template is for this instrument.

Please let me know if I may assist further.
NinjaTrader_AdamP is offline  
Reply With Quote
Old 04-10-2012, 04:14 PM   #3
Junior Member
Join Date: Apr 2012
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts

thanks for your fast answer.

For example, is that correct that CT (Cotton No. 2) have the session template Ipe US Agriculturals4 and FDAX have Eurex Equity Index Future?

And is it also true, that i become only the right backtest results if i use the right session template?So i can be sure when the code is correct and i use the right session template i become the right results? Or have i to look also other things?
Eickola is offline  
Reply With Quote
Old 04-11-2012, 03:41 AM   #4
NinjaTrader Customer Service
NinjaTrader_Jason's Avatar
Join Date: Aug 2007
Location: Netherlands
Posts: 15,461
Thanks: 252
Thanked 1,117 times in 1,084 posts

The session template for the FDAX reflects the proper trading times.

When I check the Cotton No. 2 futures on the Ice website, I see trading times listed different than the 'Ipe US Agriculturals4'.

It reflects trading sessions of 9:00 PM to 2:30 PM the next day.

However when I create a CT 05-12 chart using the 'Default 24/7' session template, I see more data. You can create custom session templates in the Session Manager so it will only load the data you like. More information can be found at the link below.

The session template determines during what hours historical data is loaded. Subsequently the strategy will be backtested on the historical data that is loaded.
NinjaTrader_Jason is online now  
Reply With Quote
Old 04-12-2012, 03:51 PM   #5
Junior Member
Join Date: Apr 2012
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts

Ok I understand.

But if i want make a backtest with the right Trading Time of an instrument, I have to use the right session template, because if I bmake a backtest with other times, i have in the backtest not the right results. Because when i trade after this strategy, the market will take the right times and not this I had backtested!

So how I see, I have to write self the right session template for every instrument?

And when i write this, how does that work after with a automatic system? Take this my self wroten session template or this which is in the official settings on ninja? Like cotton N2, when I'm write the right one, but in the settings is Ipe US Agriculturals4' which session template will my system take?

Sorry for my english, i hope you can understand what i want to say?
Eickola is offline  
Reply With Quote
Old 04-13-2012, 03:12 AM   #6
NinjaTrader Customer Service
NinjaTrader_Bertrand's Avatar
Join Date: Sep 2008
Location: Germany
Posts: 26,238
Thanks: 492
Thanked 1,858 times in 1,791 posts

Eickola, yes generally you would want to determine which intraday session you wish to use for your instruments, if it's backtesting or live trading -> some thoughts would apply, the session template used will determine what session the bars / charts are running with. You can check the used templates under Tools > Session Manager and check if those would suit your style wishes and customize as needed - in your Instrument Manager you can then also set a new default session template to use per market, so it would be remembered for the future when you select this instrument again and use the < use instrument settings > setting when creating the chart.

Another option is using for example always the ETH (electronic) trading hours and then furthe limiting the strategy allowed executions time through a so called time filter directly in the strategy code - as example of such a technique is located here for you -

NinjaTrader_Bertrand is offline  
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting any Session Template Jeremytang Strategy Development 1 10-17-2011 01:21 PM
Backtest session template different from real time session chart Francis Platform Technical Support 1 10-10-2011 07:10 AM
Session template freddy250 Platform Technical Support 1 10-03-2011 11:15 AM
What exactly is a session template? lookOutBelow Strategy Development 1 09-16-2010 04:42 PM
Session template stefy General Development 1 08-05-2010 07:33 AM

All times are GMT -6. The time now is 03:25 AM.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is a NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly. The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. 

Vendors along with their websites, products and services, collectively referred to as (“Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.