![]() |
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
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2008
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
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.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,420
Thanks: 252
Thanked 981 times in 963 posts
|
csmith87, BarsInProgess offers info on which bars object is calling the OnBarUpdae(), this would all still be in the same thread CPU wise.
Bertrand
NinjaTrader Customer Service |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
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 |