Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Did something happen to the chart rendering calculation between 8.0.26.1 and 8.1.1.7
Collapse
X
-
I was seeing this issue with an indicator running in a subgraph - a type of oscillator. It started at some point in some recent version, but I am not certain exactly when it started. The way it manifests is that sometimes, the scale becomes distorted/compressed then flashes back to the correct scale a split second later, resulting in the perception of "flicker" on the part of the end users. It doesn't happen during OnStateChange (as far as I can tell) but randomly during a realtime run. I checked the code for any references to Bars or Instrument etc. in OnRender and did not find anything, but there is a reference to TickSize in OnCalculateMinMax. I've replace that with a cached double tickSize that's a field variable in case TickSize is becoming inaccessible but it's too soon to know if that fixed it because the error is intermittent.Originally posted by WHICKED View Post
Would you chime in here and tell NinjaTrader your environment that you are reproducing this issue with?
Comment
-
Hello All,
Thank you for your patience.
Pitro and koop1975 - as QuantKey_Bruce mentioned, the value displayed on your charts seems to be Double.MinValue. This is described on the following publicly available page from the Microsoft C# documentation:
His suggestion to recognize that value and show N/A or Unavailable is helpful.
WHICKED I have tested the two indicators that you mentioned from the ecosystem on a 4 Range chart for NQ 09-23. I created the following video:
World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.
Is the flashing behavior present in this video? If so, I am not sure that I am seeing what you are referring to so please let me know. Otherwise, I still have not been able to produce this behavior. Is there something I should do differently than in the video? Do I need to wait longer or test at a different time of day? My understanding is that this only occurs when first loading the indicator on a chart; is that correct, or can the flashing happen after an indicator has been added and just occur intermittently throughout the day?
I sincerely appreciate your patience and look forward to your reply.
Comment
-
No, the problem is not present in your video clip. But like all of us even your vendors have said it is intermittent and I have pointed out multiple times that the issue was after the update of 8.0.28 any version after that experiences this issue including your latest 8.1.1.7. If you go to 8.0.27. The issue is not thereOriginally posted by NinjaTrader_Emily View PostHello All,
Thank you for your patience.
Pitro and koop1975 - as QuantKey_Bruce mentioned, the value displayed on your charts seems to be Double.MinValue. This is described on the following publicly available page from the Microsoft C# documentation:
https://learn.microsoft.com/en-us/do...tframework-4.8
His suggestion to recognize that value and show N/A or Unavailable is helpful.
WHICKED I have tested the two indicators that you mentioned from the ecosystem on a 4 Range chart for NQ 09-23. I created the following video:
World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.
Is the flashing behavior present in this video? If so, I am not sure that I am seeing what you are referring to so please let me know. Otherwise, I still have not been able to produce this behavior. Is there something I should do differently than in the video? Do I need to wait longer or test at a different time of day? My understanding is that this only occurs when first loading the indicator on a chart; is that correct, or can the flashing happen after an indicator has been added and just occur intermittently throughout the day?
I sincerely appreciate your patience and look forward to your reply.
Do you get it yet? The only thing that changed was not the code on my side, or your vendors side, but the version number on your side.
So code did not change on our side. But your version number changed. And that points directly to an update that you did on the Ninjatrader platform.
As your vendors have also pointed out the old version did not do this. It is the new version that is doing this, so why is there a hesitation from your end to have a developer look at the problem between those versions and figure it out?
File a "bug report," "incident report," or simply an "issue." Assign it to a developer. Or to the triage team, compare the two code versions.
TA DA!Last edited by WHICKED; 07-19-2023, 11:55 PM.
Comment
-
An oscillator? We are trying to figure this problem out and you can’t say which? Or is it some proprietary thing? If that’s the case then you could always go through vendor support. Seems you might have more luck than I will.Originally posted by QuantKey_Bruce View PostI was seeing this issue with an indicator running in a subgraph - a type of oscillator. It started at some point in some recent version, but I am not certain exactly when it started. The way it manifests is that sometimes, the scale becomes distorted/compressed then flashes back to the correct scale a split second later, resulting in the perception of "flicker" on the part of the end users. It doesn't happen during OnStateChange (as far as I can tell) but randomly during a realtime run. I checked the code for any references to Bars or Instrument etc. in OnRender and did not find anything, but there is a reference to TickSize in OnCalculateMinMax. I've replace that with a cached double tickSize that's a field variable in case TickSize is becoming inaccessible but it's too soon to know if that fixed it because the error is intermittent.
Comment
-
-
Hello WHICKED,Originally posted by WHICKED View Post
No, the problem is not present in your video clip. But like all of us even your vendors have said it is intermittent and I have pointed out multiple times that the issue was after the update of 8.0.28 any version after that experiences this issue including your latest 8.1.1.7. If you go to 8.0.27. The issue is not there
Do you get it yet? The only thing that changed was not the code on my side, or your vendors side, but the version number on your side.
So code did not change on our side. But your version number changed. And that points directly to an update that you did on the Ninjatrader platform.
As your vendors have also pointed out the old version did not do this. It is the new version that is doing this, so why is there a hesitation from your end to have a developer look at the problem between those versions and figure it out?
File a "bug report," "incident report," or simply an "issue." Assign it to a developer. Or to the triage team, compare the two code versions.
TA DA!
Thank you for your reply.
No, I have not gotten it yet. I will gladly report this to the development team for investigation once I am able to reproduce the behavior. I will need to provide them with exact steps on how to reproduce, including a script that results in the behavior, to investigate. So far, I do not have that information locked down so I am not able to report it. That is the only hesitation I have at the moment; if I am not able to reproduce the behavior or come up with consistent steps to cause the behavior, I am not able to report it to development.
I understand that the behavior is intermittent and that it is only being observed on versions 8.0.28.0 and 8.1.1.7. Although it is intermittent, many people have chimed in that it is simple to reproduce yet I have not been able to reproduce it yet. Is there a more simplified script other than the two that you previously shared that also results in this behavior? If not, is someone able to provide a reduced sample and describe the exact environment that resulted in this behavior? My colleague previously asked you for your Log and Trace files; I understand that the diagnostic information might not fully point to the cause of this behavior, but that information would also be useful to gather in this scenario. Some folks have also reported an exception being thrown, and if that is the case that should show up in the files. We could also compare the OS and graphics card being used to see if there are any consistencies there or to determine if that information is irrelevant.
WHICKED please send me your log and trace files as well as the last time (or a few different times) when you observed the flickering/flashing behavior. I would like to investigate and see if there is any information in your files that is relevant to this behavior. You can send us your files by going to the Control Center-> Help-> Email Support. Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default. Please include "ATTN Emily C" in the subject line along with a link to this forum thread in the body of the email.
I look forward to further investigating this item.
Comment
-
Hello Emily,
I read the whole topic, I can confirm that I also encounter exactly all the problems exposed with the same dynamics of other users on any graph, exactly the same problem. I hope you can solve this because at some point it becomes almost impossible to be able to observe the chart especially in times of high volatility.
Comment
-
Hello Alex Al23,Originally posted by Alex Al23 View PostHello Emily,
I read the whole topic, I can confirm that I also encounter exactly all the problems exposed with the same dynamics of other users on any graph, exactly the same problem. I hope you can solve this because at some point it becomes almost impossible to be able to observe the chart especially in times of high volatility.
Thank you for your note.
Is this happening on a script that you wrote or a script that was imported from a third party?
I look forward to your reply.
Comment
-
Hello Alex Al23,Originally posted by Alex Al23 View PostHello Emily,
thanks for your fast reply; this is happening on a 3rd party and it's affecting the whole chart and indicators.
Thank you for that info.
Since this is happening on a 3rd party script and not one that you wrote, please reach out to the developer directly for assistance with any unexpected behavior from the script.
Thank you for using NinjaTrader.
Comment
-
Hello Emily,
until previous versions everything worked perfectly; since NT did the last update things have started not working properly just exactly like WHICKED wrote. By the way, the developer didn't changed or modified anything so the problem is from NT side.
Best regards
AlexLast edited by Alex Al23; 08-21-2023, 10:30 AM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
572 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
550 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment