Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Comment out entire indicator
Collapse
X
-
Comment out entire indicator
Cannot use /* at line 1 and */ at last line of code to comment out entire indicator. The compiler is deleting the last line with just the */ and then stating "End of file found, */ expected" . Cannot compile with this method of commenting out.Tags: None
-
Hello,
Thank you for the post.
I do see this as well, it appears the end of file is technically above the NinjaScript generated code, the user editable portion anyway.
I will report this to development, for the time being to comment an entire file out, I would suggest to instead right click the file in the NinjaScript explorer and Exclude the file from compilation.
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
143 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
296 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
241 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
339 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
172 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment