![]() |
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
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#16 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
bretddog, correct that limitation however that was for IB daily bars only.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#17 | |||
|
Senior Member
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
|
Quote:
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:
Quote:
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 |
|||
|
|
|
|
|
#18 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
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
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#19 |
|
Senior Member
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
|
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. |
|
|
|
|
|
#20 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
We will give this another test to see if we can reproduce and update.
Brett
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Brett for this post: |
|
|
|
#21 |
|
Senior Member
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
|
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
Last edited by marcow; 07-07-2012 at 11:40 AM.
|
|
|
|
|
|
#22 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Hi Marco, thanks for the updates - but the bars / calendar day alignments are correct on your setup, right?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#23 |
|
Senior Member
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
|
|
|
|
|
|
|
#24 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Sure what I meant is - if you check your charts session segments, do they appear on the correct weekday for your timezone / date?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#25 |
|
Senior Member
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
|
Yes, they do.
|
|
|
|
|
|
#26 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Thanks for clarifying, I will give this now a run on PC in your CET time as well.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#27 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
I could see this now on my machine running on CET time - thanks much for the patience and report, we will look into matters.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Bertrand for this post: |
|
|
|
#28 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
To update, this has not been forgotten. It's under review by development.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Bertrand for this post: |
|
|
|
#29 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
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.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Bertrand for this post: |
|
|
|
#30 |
|
Senior Member
Join Date: Dec 2009
Location: Netherlands
Posts: 179
Thanks: 15
Thanked 72 times in 51 posts
|
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;
![]() Hope the next major update will come soon. Marco |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |