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 01-12-2010, 05:49 AM   #1
aksamyo
Junior Member
 
Join Date: May 2009
Posts: 23
Thanks: 0
Thanked 0 times in 0 posts
Default Today's Last Bar is not available during BackTesting

The objective of the strategy is to gather statistics on 200+ stocks after the close of the market. The strategy I am sending you simply looks for a momentum reversal on the last 60 minute bar of the day. The problems is that the 4PM bar of today does not appear even after 10PM. This should be possible in NT7 since it is using Session Template to determine end of session.

You need to test the strategy after the close of the market.
Attached Files
File Type: cs Stat1.cs (3.2 KB, 3 views)
aksamyo is offline  
Old 01-12-2010, 07:12 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

Please try:
Code:
CalculateOnBarClose = false;
Thanks
NinjaTrader_Dierk is offline  
Old 01-12-2010, 05:05 PM   #3
aksamyo
Junior Member
 
Join Date: May 2009
Posts: 23
Thanks: 0
Thanked 0 times in 0 posts
Default

It worked. Thanks.
aksamyo 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
Enter on same bar in backtesting BillCh Suggestions And Feedback 3 02-05-2009 01:49 PM
Today's equity dha3936420 Strategy Development 1 07-03-2008 01:32 PM
Daily charts do not show today's bar clearpicks Charting 3 04-25-2008 12:48 AM
Getting today's total volume adrian Strategy Development 1 03-29-2008 03:41 PM
Backtesting bar interval jonesr227 Strategy Analyzer 14 10-12-2007 11:07 PM


All times are GMT -6. The time now is 02:44 PM.