Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
B8 export fails with more than a couple of files, crashes NT
Collapse
X
-
@NinjaTrader_ShawnB ... any news on this one? was the additional able to uncover anything new for you?
-
sadly that exception didn't end up in the trace.Attached Files
Comment
-
Hello RanchoDinero,
Just to clarify, does this only occur when you are attempting to export an assembly with your script contained within it or does it also occur when you attempt to export only the default indicators/strategies included with NinjaTrader 8 as well?Zachary G.NinjaTrader Customer Service
Comment
-
exporting several system indicators works as expected. seems that uses a different code path? curious to know what's different when those are exported compared to exporting other code.
Comment
-
-
Astonishingly, and completely by accident, I found the cause. One of my files had a space character before the 'namespace' keyword. This is the cause of the crash.
You can repro the issue with this script, attached.
Notice that this one space also prevents NT from auto-generating the needed glue code for the indicator. Which is kind of nuts... this is perfectly valid code otherwise. At least the C# compiler thinks so.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, Today, 06:46 AM
|
0 responses
8 views
0 likes
|
Last Post
by Mindset
Today, 06:46 AM
|
||
|
Started by M4ndoo, Yesterday, 05:21 PM
|
0 responses
13 views
0 likes
|
Last Post
by M4ndoo
Yesterday, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
15 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
82 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
47 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment