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 12-22-2010, 07:54 AM   #1
Danielj
Member
 
Join Date: Aug 2010
Posts: 67
Thanks: 1
Thanked 0 times in 0 posts
Default RTH prices on daily chart

Hello,

Can I set the chart that my daily bars would be draw only by prices in regular trading hours?

Thank you
Daniel
Danielj is offline  
Reply With Quote
Old 12-22-2010, 08:04 AM   #2
NinjaTrader_RyanO
NinjaTrader Customer Service
 
NinjaTrader_RyanO's Avatar
 
Join Date: May 2009
Location: Denver, CO
Posts: 2,183
Thanks: 3
Thanked 14 times in 13 posts
Default

Hi Danielj,

Thank you for your post.

Yes this is possible but within both NinjaTrader 6.5 and 7.

With NinjaTrader 6.5 you can right-click on the chart and then select Properties. Then in the ensuing properties window you can set the Session Begins time to when the market opens, and the Session Ends to the RTH close time. Then if you create a chart with Daily Bars you will also want to make sure that your provider supports historical daily data. More information at:
http://www.ninjatrader-support.com/H...HistoricalData

With NinjaTrader 7 if you right-click on the chart you can then select Data Series. In the ensuing window if you highlight the instrument in the bottom left and then edit the Session Template property you can select a RTH template which will set the begins and end times of the chart. More information at:
http://www.ninjatrader.com/support/h...on_manager.htm

Additionally, if your data provider supports historical daily data then the bars provided in some instances would be daily bars for RTH only.
http://www.ninjatrader.com/support/h...rical_data.htm

One such provider with NinjaTrader 7 is the Kinetick End of Day (Free) feed that can be used for daily historical data, and the daily bars created are for only RTH data. More information at: http://www.kinetick.com/end-of-day
NinjaTrader_RyanO is offline  
Reply With Quote
Old 12-22-2010, 08:18 AM   #3
Danielj
Member
 
Join Date: Aug 2010
Posts: 67
Thanks: 1
Thanked 0 times in 0 posts
Default

Hello,

there is something wrong.

I have account in Interactive Brokers. I set trading hours in properties of the chart as you said. And on intraday charts it is ok. But when I change time frame for daily it is not ok.

I attache the exapmle for e mini S&P m15 and d1 when I showed open and close price for both time frames. This prices are different.

On daily charts in properties I am not allowed to set trading hours.

I am using NT 6.5.
Attached Images
File Type: jpg d1.jpg (52.8 KB, 11 views)
File Type: jpg m15.jpg (68.8 KB, 8 views)
Danielj is offline  
Reply With Quote
Old 12-22-2010, 08:26 AM   #4
NinjaTrader_RyanO
NinjaTrader Customer Service
 
NinjaTrader_RyanO's Avatar
 
Join Date: May 2009
Location: Denver, CO
Posts: 2,183
Thanks: 3
Thanked 14 times in 13 posts
Default

Hi Danielj,

With Daily charts created using daily bars the Session Begins and Session Ends times in NinjaTrader 6.5 will not be an available property and that is because daily charts are built using daily bars from the provider and the data contained in the bar is based on the times provided by the datafeed, in this case IB. More information at:
http://www.ninjatrader-support.com/H...BuildChartBars

That said in most cases the daily bars used for a daily chart will be for the RTH only, but for IB you will want to confirm if that is the case, as well.
NinjaTrader_RyanO is offline  
Reply With Quote
Old 01-03-2011, 04:12 PM   #5
Danielj
Member
 
Join Date: Aug 2010
Posts: 67
Thanks: 1
Thanked 0 times in 0 posts
Default

Hello,

I have data from IB from trading hours. So can't I filter them somehow to build daily data based on RTH? In TWS (Trader Work Station - platform for IB customers) I have daily bars created with RTH.

I would like to see the same daily chart in both places (TWS and NT).

Are there same chances for that?

Daniel
Danielj is offline  
Reply With Quote
Old 01-04-2011, 07:21 AM   #6
NinjaTrader_Kyle
NinjaTrader Customer Service
 
NinjaTrader_Kyle's Avatar
 
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,353
Thanks: 146
Thanked 253 times in 249 posts
Default

Hello Danielj,

Unfortunately, the Daily interval bars will use the full 24 hours of available data when IB is used as the data source. You could, however, create a minute-interval equivalent.

For example, if using ES:
RTH's for this instrument are 8:30-3:15 CST.
If you were to create a minute chart which covered the 6:45 in which the market is open, you would then have a 405 minute chart which simulated the daily chart you're looking for.
NinjaTrader_Kyle is offline  
Reply With Quote
Old 01-04-2011, 07:32 AM   #7
Danielj
Member
 
Join Date: Aug 2010
Posts: 67
Thanks: 1
Thanked 0 times in 0 posts
Default

I am not sure I understood you well. Can you show me how to do that or the scan of the results?

Daniel
Danielj is offline  
Reply With Quote
Old 01-04-2011, 07:41 AM   #8
NinjaTrader_Kyle
NinjaTrader Customer Service
 
NinjaTrader_Kyle's Avatar
 
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,353
Thanks: 146
Thanked 253 times in 249 posts
Default

Hi Danielj,

For example, the attached image shows settings which would result in one bar which contained data from 8:30-3:15 CST. This is, essentially, the daily bar data you're looking for - you're just creating that daily bar out of minute data.
Attached Images
File Type: jpg Example.jpg (67.3 KB, 13 views)
NinjaTrader_Kyle is offline  
Reply With Quote
Old 01-04-2011, 07:52 AM   #9
Danielj
Member
 
Join Date: Aug 2010
Posts: 67
Thanks: 1
Thanked 0 times in 0 posts
Default

Propably this is what I was looking for. Thank you. But I am using NT 6.5. Would you be so kind and show how to do that in this version.

Thank you.
Danielj 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
RTH daily bar chart PataNegra4567 Charting 5 08-13-2010 01:54 PM
RTH in daily backtesting corrado Version 7 Beta General Questions & Bug Reports 11 07-14-2010 05:50 PM
How to get Daily RTH OHLC on 1 Minute Chart gregschr Strategy Development 2 07-04-2010 07:42 PM
Reference Daily Close prices on Minute chart oldseller1848 General Programming 16 10-02-2009 10:43 AM
Calculating RTH average range from daily bar stevebong General Programming 10 12-02-2007 03:03 AM


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