Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Chart rendering failed... OnRender method. D2D error
Collapse
X
-
This isn't a bug in the Trendlines indicator - it's a bug that is exposed when there is more than one data series on a chart but some drawing objects are set to attach to all charts. When it does something like a duplicate chart, it tries to use the same name for the drawing tool when it adds it to both subgraphs, causing a crash that is not handled gracefully - the chart no longer scrolls or receives any new data after this. The issue reported above is related. They both are ways to expose the underlying bug, which is related to drawing objects on "all charts" when a chart has more than one subgraph of the same symbol as the drawing objects are attached to.
- Likes 2
Comment
-
NinjaTrader_ChelseaB I'm also getting this and it halts the data ?
What is the ETA for a fix? (the error was reproted at 2007...).
How can I prevent this - any workaound?
Elad.
Comment
-
-
Are we doomed ?Originally posted by QuantKey_Bruce View PostI suppose you can read this thread and draw your own conclusions about the situation. I was hopeful that after turning in a reproducible scenario, it would be fixed right away, but instead we now have what we now have.
I would like to have global drawings and multiple chart and subgraph.. assuming that we will not get a fix soon, any guidelines or workarounds this issue?
Comment
-
Originally posted by Bidder View PostTheTradingMantis. Thanks for this information. I have wasted countless hours debugging my own code thinking that it was the source of the problem. Thank you for this.
Some comments in the post below indicate this bug was introduced in v26
Today I triad change the fib ratios in the fib retracement tool and I am getting constant errors in the log. My chart freezes up and the error keeps repeating itself until I close the program. The same error occurs if I then try to edit the drawing object again after reopening the program. I also tried deleting the drawing
By incrementally installing different versions and utilizing the "Mantis ChartFreeze" indicator it can be positively verified this bug was introduced in v8.0.26.
Pls forward this to the dev as it may speed up the analysis work.
I have had to stop using global lines as well - a real pita.
Comment
-
NinjaTrader_ChelseaB NinjaTrader_ChelseaB I think i have undertood what the Dev are missing and I have a workaround you can use and help all.
ping me if you are intersted.
Comment
-
Originally posted by NinjaTrader_ChelseaB View PostHello eladlevi,
If you would like to provide your findings here, I will be happy to add this as a note to the report.
For some reason you allow multiple drawing with the same tag (you can see and even do it manually).
With this as given, the RemoveDrawObject(tag) gets a tag which is NOT unique and with the combination of other panel and global items there is an error.
To overcome this cases In all indicator that I use I've change the function to be as follows :
private void _RemoveDrawObject(string _tag)
{
if (DrawObjects[_tag] != null)
{
DrawObjects[_tag].IsVisible = false;
}
}
That solves the issue for now. But this is only workaround.
NT must solve the core issue.
Elad.
- Likes 2
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
77 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
45 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
27 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
62 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|
Comment