NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 04-03-2008, 07:54 PM   #1
astrolobe
Senior Member
 
Join Date: Oct 2007
Location: Sydney
Posts: 311
Thanks: 0
Thanked 0 times in 0 posts
Default Session breaks

I am trying to create a chart for an instrument that has a 22 hour day (closed from 4pm to 6pm). I also want to have exactly 5 bars per day, which is a 264 minute chart, based on a 22 hour day.
I have set the session begins and ends times to 6pm and 4pm respectively. This works fine for the first 22 hour session. However, on the second day my first bar is not 10:24 pm (6pm + 264 minutes) as hoped for, but 8:24 pm. In other words, the bars continue at 264 minutes, and disregard the session break from 4-6pm.
What do I need to configure to achieve the above?

Thanks.
astrolobe is offline  
Reply With Quote
Old 04-04-2008, 08:44 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Unfortunately this is not possible at this time since any new bar starts in time when a new tick comes in, if it comes in 5 minutes from the close of the last bar, you would get a bar time stamp 269 minutes from the last one.
NinjaTrader_Ray 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
Testing OHLC, pivots and session breaks Harry Historical NinjaTrader 6.5 Beta Threads 54 03-27-2008 08:19 AM
How to Paint with Bar Breaks. wayneFH NinjaScript File Sharing Discussion 4 03-17-2008 10:26 AM
Buy on second bar as it breaks first pls help gamblor Strategy Development 7 02-16-2008 08:38 AM
Session Begins -- Session Ends bmaltz Charting 6 11-11-2007 11:45 PM
Changing Session Begins and Session Ends time forexample Charting 1 10-21-2007 01:16 AM


All times are GMT -6. The time now is 10:40 PM.