Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bars.BarsSinceSession unreliable on Renko charts
Collapse
X
-
Originally posted by NinjaTrader_Bertrand View PostThanks 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.
No, I was on NT7 R9, but I now upgraded to R10. Unfortunately the problem still is there, no improvementsAre you on latest NT7 R10 here as this happens for you?
I deleted and re-downloaded ES 09-12 from June29 to July 4, same problem.Would you see the same still with freshly downloaded replay data from our server?
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
Comment
-
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.
MarcoLast edited by marcow; 07-07-2012, 11:40 AM.
Comment
-
-
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.
Comment
-
Guess my best option would be to code my own barssincesession by using Bars.FirstBarOfSession something like:
What amazes me is that apparently I'm the only one on CET TimeZone settings who uses the Bars.BarsSinceSession in strategies trading the ESCode:if (Bars.FirstBarOfSession) { Count = CurrentBar ; BarsInSession = 1; } else BarsInSession = CurrentBar - Count;
Hope the next major update will come soon.
Marco
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
105 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
53 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
35 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
38 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
74 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment