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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
117 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
166 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
85 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
130 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
88 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment