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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
45 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
99 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
177 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
170 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment