Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Anchor - System.NullReferenceException:
Collapse
X
-
Anchor - System.NullReferenceException:
I have an indicator that draws several triangles on the chart. If I hit refresh (F5) I get an Object reference not set to an instance of an object error. If I remove the indicator completely and reload it, it works fine. When debugging I find that the bug may be in the @ChartMarkers. Please see below.
Tags: None
-
Hello cutzpr,
Thanks for your post.
Please move the code that is relevant to reproduce the exception in a separate test script for our review. Please also provide steps to reproduce the issue if steps go beyond applying the test script and pressing F5 to reload NinjaScripts.
Exporting as source code - https://ninjatrader.com/support/help...tAsSourceFiles
We look forward to hearing back.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
67 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
96 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
53 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
108 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
63 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment