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 > NinjaScript Development Support > Strategy Development

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

Reply
 
Thread Tools Display Modes
Old 05-02-2007, 09:46 AM   #1
ThePatientOne
Member
 
Join Date: Feb 2007
Location: , ,
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

I am trying to overcome not being able to enter the market across bar series in a multiple data series strategy.

I have created a test strategy that contains:
Quote:
BarsArray[0] = 1min ER2 06-07

BarsArray[0] = 1min DJIA

BarsArray[0] = 1min ER2 06-07
Attached is a screen shot of the output window when I print out the date/time when a particular BarsInProgress index comes into the OnBarUpdate() method.

Notice that only the BarsInProgress == 1 is being updated every minute.

Can you shed some light on this?

Thank you.


Attached Images
File Type: png NT Output 1 - MultiBarSeries Results.png (29.2 KB, 17 views)
ThePatientOne is offline  
Reply With Quote
Old 05-02-2007, 10:05 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
Post imported post

Connected in real-time? If yes, could it be that on some of the series there is no bar since a trade has not come in?

Ray
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


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