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 > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 10-01-2010, 12:33 AM   #1
csmith87
Junior Member
 
Join Date: May 2008
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
Default Does Multi-Frame BarsInProgress imply multi-treading ?

Hello,

I'm attempting to use the new Multi-Frame feature with the BarsInProgress var. It appears to me that when using BarsInProgress > 0, a multithreaded OnBarUpdate is implied.

My question is this ... if a condition is satisfied when BarsInProgress is say 1, how do I (safely) communicate this condition to the thread where BarsInProgess is 0 (or vice versa) ?
Last edited by csmith87; 10-01-2010 at 12:37 AM.
csmith87 is offline  
Old 10-01-2010, 07:31 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,420
Thanks: 252
Thanked 981 times in 963 posts
Default

csmith87, BarsInProgess offers info on which bars object is calling the OnBarUpdae(), this would all still be in the same thread CPU wise.
NinjaTrader_Bertrand is offline  
 

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
Multi Time Frame Fills toptrader Strategy Development 9 04-06-2010 10:53 AM
Multi-Instrument Multi-Time frame strategy Shansen Strategy Development 1 12-28-2009 06:09 AM
multi time frame indicators markw Suggestions And Feedback 1 01-17-2009 12:33 PM
Multi Time Frame/Multi Instrument? GreenTrade Strategy Development 3 01-14-2008 02:24 PM
Multi-time frame scjohn Strategy Development 1 06-06-2007 07:20 PM


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