Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Visual Studio NT8 Debug
Collapse
X
-
Originally posted by cls71 View PostHello delTik,
Probabily, the exception is thrown because owner is null. You should check that "owner as Gui.NinjaScript.IChartBars" is not null before reference it.
Otherwise checking each object that can be null if it is not null should also correct this.
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Comment
-
Hello,
If the error is coming from one of the internal or included scripts you should be able to see what the file name of the currently open file is in visual studio. This would at least tell you a general area of the error but would not help with why.
If this is a internal piece of code that is null, you may need to debug the strategy causing this to see what specific syntax is causing the scenario.
With the specific syntax found, you could provide that and if it is in error I can provide that to development for review. Otherwise this would help identify why that is becoming null in the case the logic in the strategy is not passing a value or something.
Its really hard to say anything more than general statements based on the image, if you can provide more detail on what the specific scenario is that would help greatly.
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
238 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
383 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
1 view
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
||
Started by pechtri, 06-22-2023, 02:31 AM
|
10 responses
125 views
0 likes
|
Last Post Today, 12:03 AM | ||
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Yesterday, 08:25 PM
|
Comment