![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
How does NT process bars with no trades? For example, on 1min chart, if between 10:00:00:000 to 10:00:59:999, there is no trade at all, how does NT fire OnBarUpdate() event? I think in NT, the bar with timestamp 10:01 is still drawn but no ObBarUpdate() is called if CalculateOnBarClose is set to false. While if CalculateOnBarClose is set to true, would OnBarUpdate() be called at time 10:00:01:000? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> 10:00:00:000 to 10:00:59:999, there is no trade at all
Then there would be no bar and OnBarUpdate would not be fired
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Certified NinjaTrader Third Party Developer Process | sbtrader | General Programming | 7 | 06-23-2011 07:17 AM |
| Order process getting slowwwwwwwww | BIGRED | Automated Trading | 3 | 03-05-2008 09:23 AM |
| Dertermine if a non strategy order in process? | ct | Strategy Development | 2 | 05-24-2007 11:06 PM |
| Confirming install process... | Antraman | Installation and Licensing | 1 | 04-02-2007 02:30 AM |
| Tradestation bad install process | deanldavis475 | Installation and Licensing | 2 | 04-02-2006 03:54 AM |