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 02-12-2010, 09:56 PM   #1
whitmark
Certified NinjaScript Consultant
 
Join Date: Nov 2005
Location: Virginia, USA
Posts: 441
Thanks: 0
Thanked 12 times in 7 posts
Send a message via Skype™ to whitmark
Default NT7B9 Bars.FirstBarOfSession using Default 24/7

I changed the 1000 volume ES 3-10 dataseries on a chart to use Session Template = Default 24/7 and noticed when I ran a strategy that some days the Bars.FirstBarOfSession was never true. I then wrote a small test indicator to confirm it. Is this expected?

Thanks,

Whitmark
whitmark is offline  
Old 02-13-2010, 03:05 AM   #2
Harry
Senior Member
 
Join Date: Oct 2007
Posts: 1,829
Thanks: 12
Thanked 83 times in 67 posts
Default

I tested this, and Bars.FirstBarofSession worked on volume charts with 24/7. However on Renko charts, the condition was true only once for the very first session of the lookback period. If it does not work on Renko charts, maybe that it does not work on volume charts under certain conditions.
Harry is offline  
Old 02-13-2010, 04:49 AM   #3
whitmark
Certified NinjaScript Consultant
 
Join Date: Nov 2005
Location: Virginia, USA
Posts: 441
Thanks: 0
Thanked 12 times in 7 posts
Send a message via Skype™ to whitmark
Default

Thanks, Harry, for checking this out.

Interestingly, last night (Friday, Feb-12, after market hours and before Midnight), there were no bars where Bars.FirstBarOfSession was true for that day verified by both an indicator and a strategy. This morning (Saturday, Feb-13, 6:30am) I ran a 100 day test of 1000 Volume bars, and found each day had a Bars.FirstBarOfSession=true bar as expected. I'll have to check again next week to see what happens after normal market hours and before Midnight for the current day Bars.FirstBarOfSession.

Whitmark
whitmark is offline  
Old 02-13-2010, 07:43 AM   #4
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

Thanks for reporting. We'll look into.
NinjaTrader_Dierk is offline  
Old 02-15-2010, 03:50 AM   #5
NinjaTrader_Christian
NinjaTrader Development
 
NinjaTrader_Christian's Avatar
 
Join Date: Feb 2007
Location: Bamberg, , Germany
Posts: 279
Thanks: 0
Thanked 2 times in 2 posts
Default

Hi !

The issue with Bars.FirstBarOfSession on Renko bars is fixed and the fix will be available with the next update of NinjaTrader. Thanks for reporting !

But we tried to reproduce the issue with Bars.FirstBarOfSession set to false on session begin, but did not succeed.

A few questions to clarify:
- did see the FirstBarOfSession set to false only for 'today's' bars (that was the friday session), or for more days (in post #1 you write 'some days') ?
- post #3: did you switch period value before you saw that, or was this on a new chart ? Did this happen with the <instrument default session> ? Or did that only happen with 24/7 ?

Thanks,
Christian
NinjaTrader_Christian is offline  
Old 02-15-2010, 04:56 AM   #6
whitmark
Certified NinjaScript Consultant
 
Join Date: Nov 2005
Location: Virginia, USA
Posts: 441
Thanks: 0
Thanked 12 times in 7 posts
Send a message via Skype™ to whitmark
Default

Hi Christian,

Thanks for the follow-up. What I recall is, I noticed it on the current day's bar and after I changed from CME US Index Futures RTH (the <instrument default session>) to Default 24/7. I can't remember if there was an issue using the <instrument default session> or not. It was getting late (Friday) and I made a point to retest in the morning (Saturday), but the issue did not persist into the next day.

Regards,

Whitmark
whitmark is offline  
Old 02-16-2010, 03:08 AM   #7
NinjaTrader_Christian
NinjaTrader Development
 
NinjaTrader_Christian's Avatar
 
Join Date: Feb 2007
Location: Bamberg, , Germany
Posts: 279
Thanks: 0
Thanked 2 times in 2 posts
Default

Hi whitmark !

We tried to reproduce again, but FirstBarOfSession worked under every scenario we tested.

If you see this again, pls. provide us with following information:
- in which timezone and at which time (date & local time) happened this ?
- which connection ?
- did you run NT and open up that chart fresh or was it running 'longer' >= 1 day ago ?
- what are the bars settings (1000 Volume, session template, days back ?) before and after the switch
- when this happens, does that also happen on a chart which you open new, with same bars settings before and after switch ?

Thanks,
Christian
NinjaTrader_Christian 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
Bug in Bars.FirstBarOfSession Baruch Strategy Development 8 08-06-2010 03:26 PM
Bars.FirstBarOfSession MXASJ Version 7 Beta General Questions & Bug Reports 5 05-17-2010 08:28 AM
Default 24/7 Session Dropping GC Data mjc4118 Version 7 Beta General Questions & Bug Reports 2 11-11-2009 12:33 PM
why does not Bars.FirstBarOfSession not fired junkone Strategy Development 3 04-29-2009 09:42 AM
Bars.FirstBarOfSession not set to true during backtest? tradefaz General Programming 1 09-03-2008 08:19 AM


All times are GMT -6. The time now is 01:29 PM.