NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 05-01-2008, 08:19 AM   #1
clearpicks
Senior Member
 
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
Default How does NT process bars with no trades

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?
clearpicks is offline  
Reply With Quote
Old 05-01-2008, 08:25 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> 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
NinjaTrader_Dierk 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
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


All times are GMT -6. The time now is 12:38 AM.