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 03-09-2009, 04:49 PM   #1
ChiTrader2000
Senior Member
 
Join Date: Nov 2008
Posts: 160
Thanks: 0
Thanked 0 times in 0 posts
Default Known issues when developing strategies for products whose sessions span midnight?

Hello,

I have to make a decision that someone out there can hopefully help me with...

I want to backtest some futures markets whose open time is in the afternoon (Chicago time) and whose close time is the next day in the afternoon. The products start trading on Sunday afternoon and stop trading on Friday afternoon.

I need to decide between importing the 1 minute bar data for products with 1 minute bar time stamps as is, or importing the 1 minute bar data with each bar getting 6 hours added to it so that the sessions don't span midnight.

Are there any known problems in Ninja Trader regarding strategies that are run on futures whose sessions span midnight?

Would it be better if I added 6 hours to every 1 minute bar before I imported it, or would this cause bigger problems?

Thanks in advance!

ChiTrader2000
ChiTrader2000 is offline  
Reply With Quote
Old 03-10-2009, 07:59 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Hi ChiTrader2000, NinjaTrader session time are not determined by midnight, but rather would you set in the chart session times setup. So you should be able to import your normal data and then adjust the session times, so you would see one seamless session for your products.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-10-2009, 08:30 AM   #3
ChiTrader2000
Senior Member
 
Join Date: Nov 2008
Posts: 160
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks! I will try it out.
ChiTrader2000 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
Developing strategies kekkis Suggestions And Feedback 9 10-28-2008 08:52 AM
Help developing simple oscillator joek1 Indicator Development 10 08-07-2008 12:59 PM
time span in indicators lgarcia3 Miscellaneous Support 1 05-01-2008 03:15 PM
midnight and session time question ct General Programming 1 01-10-2008 06:55 AM
OHLC for non-midnight 24 hour market StinkiePhish Indicator Development 1 07-12-2007 11:07 PM


All times are GMT -6. The time now is 11:08 AM.