NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 09-16-2010, 04:32 PM   #1
lookOutBelow
Senior Member
 
Join Date: Jul 2010
Posts: 214
Thanks: 0
Thanked 0 times in 0 posts
Default What exactly is a session template?

I'm wondering what exactly a session template does (v7)?

If my strategy itself, has some code that only allows it to trade from 6:30am to 12:50am (pacific standard time) and exits any open positions at 12:50, should the session time really be doing anything? If so, what is it doing?

If I run optimizations and walk forwards with different session times, I'll get different results depending on the session. Even if those sessions fully encompass 6:30am to 12:50am entirely.

Thanks
lookOutBelow is offline  
Reply With Quote
Old 09-16-2010, 04:42 PM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello lookoutBelow,

Session templates will construct the bars based on the times defined. To get an idea of how they'll shape the data, use a chart with different session templates applied. A different session template can have different bars which leads to different indicator calculations compared to only having a time filter for your strategy.

You can read more about session manager and session templates here:
http://www.ninjatrader.com/support/h...on_manager.htm
NinjaTrader_RyanM is offline  
Reply With Quote
Reply

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
global session template Turtle Trader Miscellaneous Support 1 09-03-2010 12:51 PM
Strategy Session Template traderhh Version 7 Beta General Questions & Bug Reports 5 08-07-2010 12:09 PM
Session template stefy General Programming 1 08-05-2010 07:33 AM
What session template should be used when trying to replicate 6.5 verge Version 7 Beta General Questions & Bug Reports 3 05-12-2010 10:13 AM
Session Template Suggestion aksamyo Version 7 Beta General Questions & Bug Reports 7 01-23-2010 03:47 PM


All times are GMT -6. The time now is 08:18 PM.