NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 02-01-2011, 05:44 AM   #1
dave1992
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 637
Thanks: 0
Thanked 1 time in 1 post
Default bars required for multi series

OK, in a ninjascript stratgegy, if I add a secondary daily series for a different instrument, then add an indicator on that secondary series that needs 7 days to start calculating properly, does the strategy try and get the seven days on startup if I have the historical data in ninja? If not, can I set bars required for that series alone, and will that get all seven days on startup?
dave1992 is offline  
Reply With Quote
Old 02-01-2011, 06:52 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

The ammount of data loaded is always the master days to load setting of the master instrument. It will never pull more data then that on a multi series indicator.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
Old 02-01-2011, 07:06 AM   #3
dave1992
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 637
Thanks: 0
Thanked 1 time in 1 post
Default

so you're saying if I want this to work on a secondary I have to wait seven days for the strat to get the data?
dave1992 is offline  
Reply With Quote
Old 02-01-2011, 07:25 AM   #4
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

What I'm saying is that the strategy will need to have loaded 7 days of data. If the indicator running inside of the strategy or any other secondary data series needs 7 days of data to load.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
Old 02-01-2011, 07:36 AM   #5
dave1992
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 637
Thanks: 0
Thanked 1 time in 1 post
Default

Brett,

We already established right at the start of this thread that it needs 7 days of data. I said as much. I'm trying to determine when and how it gets it. Does the strat have to run for 7 days to get this data for a secondary series.
dave1992 is offline  
Reply With Quote
Old 02-01-2011, 07:45 AM   #6
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Do you only have a live connection that does not have historical data?

With most connections the historical data is downloaded from your historical data feed provider. No live data is needed.

If you dont get historical data with your connection. I suggesting signing up for a service for historical data. Such as www.kinetick.com.

As it is not practical to wait 7 days for data.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
Old 02-01-2011, 07:48 AM   #7
dave1992
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 637
Thanks: 0
Thanked 1 time in 1 post
Default

I already said I have the historical data. But you said it will never pull more than the primary series needs, hence my question.
dave1992 is offline  
Reply With Quote
Old 02-01-2011, 07:50 AM   #8
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Correct.

So if you set days to load to 2 in the strategy setup. THis will not get you the data you need for the indicator and the indicator will not run.

If you set days to load in the strategy settings to 10 for example. Then the strategy and indicator will run.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
Old 02-01-2011, 07:54 AM   #9
dave1992
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 637
Thanks: 0
Thanked 1 time in 1 post
Default

OK, thanks, so all I do is set days to load.
dave1992 is offline  
Reply With Quote
Old 02-01-2011, 07:55 AM   #10
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

This is Correct.
NinjaTrader_Brett 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
Confused about Charts required for Multi-Instrument Strategy AnotherTrader Automated Trading 2 12-28-2010 03:37 AM
Trades Not Executing On Secondary Series In Multi-Series Strategy BAltman Version 7 Beta General Questions & Bug Reports 33 11-03-2010 09:00 AM
bars required question woodside Strategy Development 3 07-15-2010 03:27 AM
Multi-time frame and min. bars required tradervick Strategy Analyzer 1 09-21-2009 11:30 AM
required bars behealed Miscellaneous Support 1 04-03-2008 09:48 PM


All times are GMT -6. The time now is 09:56 AM.