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 > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 07-06-2012, 09:14 AM   #16
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

bretddog, correct that limitation however that was for IB daily bars only.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 07-06-2012, 11:29 AM   #17
marcow
Senior Member
 
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
Default

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
Thanks for the details and file Marco, just tried this here and was unfortunately not able to reproduce - please see my screenshot attached from the 'run'.

Are you on latest NT7 R10 here as this happens for you?

Would you see the same still with freshly downloaded replay data from our server?

Thanks,

First of all, I have some breaking information, I did the same testrun on a 10 minute chart, and the problem is also there. See attached image. So the issue is NOT related to Renko or any other chart type.
Because I exclusively use Renko for my strategies, I made the assumption it was Renko related, but again it is not.

Quote:
Are you on latest NT7 R10 here as this happens for you?
No, I was on NT7 R9, but I now upgraded to R10. Unfortunately the problem still is there, no improvements

Quote:
Would you see the same still with freshly downloaded replay data from our server?
I deleted and re-downloaded ES 09-12 from June29 to July 4, same problem.
I also doubt if it is the data causing this, because as I've mentioned before, I also encountered this issue several times in the past with ES 09-11 / ES 03-12 and ES 06-12 data.

Would it be helpful if I did a larger testrun this weekend on an ES 03-12 from Jan to March ? Just to get a bigger picture of how many times the error occurs ?

Marco
Attached Images
File Type: jpg ES 09-12 (10 Min) 7_3_2012.jpg (39.9 KB, 6 views)
marcow is offline  
Reply With Quote
Old 07-06-2012, 01:32 PM   #18
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Where are you doing the start and too dates and what time are you hitting plat from as this does matter here.

Finally does this only happen in market replay, can you see it when connected to a regular feed for this same date range?

-Brett
NinjaTrader_Brett is offline  
Reply With Quote
Old 07-06-2012, 02:00 PM   #19
marcow
Senior Member
 
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
Default

hello Brett,

Replay settings are:

From: 6/29/2012 (June29) To: 7/4/2012(July4)
when replay starts, at 06:00 CET on 6/29/2012 , slider is completely to the left.
marcow is offline  
Reply With Quote
Old 07-06-2012, 02:14 PM   #20
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

We will give this another test to see if we can reproduce and update.
NinjaTrader_Brett is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Brett for this post:
Old 07-06-2012, 03:38 PM   #21
marcow
Senior Member
 
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
Default

Brett,

I just did a test on MarketReplay data for ES 09-11 from 20Jun2011 to 27Jul2011 and I got a very interesting result !
The error seems to appear every 5th sessionbreak, please take a look at the attachment.
It is on the sessionbreak from Monday to Tuesday each week, without exception. The error I reported in an earlier post was also on the sessionbreak from Monday to Tuesday.

I also did a testrun on Historical data, with the same results; Bara.BarsSinceSession is wrong on each Monday-to-Tuesday sessionbreak.


Maybe this is of any help to you.

Marco
Attached Images
File Type: jpg ES 03-12 20Jun2011 to 27Jul2011.jpg (336.9 KB, 13 views)
Last edited by marcow; 07-07-2012 at 11:40 AM.
marcow is offline  
Reply With Quote
Old 07-09-2012, 09:25 AM   #22
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Hi Marco, thanks for the updates - but the bars / calendar day alignments are correct on your setup, right?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 07-09-2012, 10:21 AM   #23
marcow
Senior Member
 
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
Default

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
Hi Marco, thanks for the updates - but the bars / calendar day alignments are correct on your setup, right?
sorry, I don't understand what you mean with bars / calendar day alignments, can you explain this a bit further ?
marcow is offline  
Reply With Quote
Old 07-09-2012, 10:27 AM   #24
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Sure what I meant is - if you check your charts session segments, do they appear on the correct weekday for your timezone / date?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 07-09-2012, 10:31 AM   #25
marcow
Senior Member
 
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
Default

Yes, they do.
marcow is offline  
Reply With Quote
Old 07-09-2012, 10:38 AM   #26
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Thanks for clarifying, I will give this now a run on PC in your CET time as well.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 07-10-2012, 10:55 AM   #27
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

I could see this now on my machine running on CET time - thanks much for the patience and report, we will look into matters.
NinjaTrader_Bertrand is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Bertrand for this post:
Old 07-18-2012, 09:34 AM   #28
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

To update, this has not been forgotten. It's under review by development.
NinjaTrader_Bertrand is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Bertrand for this post:
Old 07-20-2012, 10:34 AM   #29
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

To conclude - development reviewed the report and steps we could find to reproduce with your help.

Unfortunately it touches a sensitive area, so it was added to the list of fixes implemented then for our next major update of the platform.

To workaround now, you could for example change regional settings to US, as I was only to trigger in on a machine running German settings, so your scenario worked normally on my US set machine here.
NinjaTrader_Bertrand is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Bertrand for this post:
Old 07-20-2012, 01:53 PM   #30
marcow
Senior Member
 
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
Arrow

Guess my best option would be to code my own barssincesession by using Bars.FirstBarOfSession something like:
Code:
 
 if (Bars.FirstBarOfSession)
  { Count = CurrentBar ;
    BarsInSession  = 1;
  }
else 
 BarsInSession = CurrentBar - Count;
What amazes me is that apparently I'm the only one on CET TimeZone settings who uses the Bars.BarsSinceSession in strategies trading the ES

Hope the next major update will come soon.


Marco
marcow 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
Bars.BarsSinceSession zehua Automated Trading 1 03-06-2012 02:13 AM
Renko Bars roonius General Programming 112 01-23-2012 03:52 AM
Renko Bars volpiemanuele Strategy Analyzer 3 11-15-2010 05:28 AM
Bars.FirstBarOfSession doesn't work with Renko bars gregid Version 7 Beta General Questions & Bug Reports 20 05-24-2010 08:17 AM
Bars.BarsSinceSession before Session Start time mefTrader General Programming 4 04-12-2010 02:34 PM


All times are GMT -6. The time now is 10:48 PM.