Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
compiler broken
Collapse
X
-
compiler broken
When I try to compile any indicator or strategy the compiler generates a bogus error. It happens when re-compiling scripts known to have no errors (no changes since last successful compile). The errors are always on line 51 and line 57 of the script, even though there is no code on those lines, and always the same errors. What to do to fix my compiler?Tags: None
-
You may want to check the file name to see which file caused the error. I think when NT compiles an indicator it re-compiles all indicators. So if anything is incorrect in any indicator /strategy file it will through an error.Originally posted by dave_b_quickc View PostWhen I try to compile any indicator or strategy the compiler generates a bogus error. It happens when re-compiling scripts known to have no errors (no changes since last successful compile). The errors are always on line 51 and line 57 of the script, even though there is no code on those lines, and always the same errors. What to do to fix my compiler?
Been there, done that.
-
Dave,
I agree with TAJ, all NT's "*.cs" files are checked during a recompile.
Double click on the error and the file with the problem will open up in the editor.
How do I know this????



RJay
Comment
-
thanks!
That was it! I had left some errors in a strategy I was working on last week, and that's what was keeping me from being able to compile a new strategy. Thanks to your kindness now everything is working.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
88 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
30 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
34 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
68 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment