NinjaTrader Support Forum  

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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-08-2011, 08:35 AM   #16
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,858
Thanks: 162
Thanked 579 times in 570 posts
Default

DH,

Once OnBarUpate is called, you are on the next bar. Which means your OnExeuction prints will be printed ahead of the last OnBarUpdate.

So in your example, OnBarUpdate called at 7:50, you are now on bar 7:51.
NinjaTrader_Matthew is offline  
Reply With Quote
 

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 Strategy Cancellation jthom Automated Trading 3 06-18-2010 02:18 PM
Multi-time frame - order Outlier Strategy Development 1 05-20-2010 08:25 AM
ATM Strategy Order Cancellation If Not Filled After Specified Time KBJ ATM Strategies (Discretionary Trading) 1 12-15-2009 01:48 PM
Multi-Time Frame Order Delay darckeen Strategy Development 10 08-31-2009 07:07 AM
Adjust order cancellation time webhalla Automated Trading 3 05-23-2007 02:05 PM


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