says line 11 column 18 which is line next to public class
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Coding error
Collapse
X
-
Hello stifland,
Thanks for your post.
The compile error mentions that the namespace NinjaTrader.NinjaScript.Indicators already contains a definition for something on the line mentioned.
There is likely another class on your platform with this same name. Class names must be unique otherwise you will get compile errors. I suggest renaming the class so it is unique.
You can also use Ctrl + F to search through your source code if you think the naming conflict is within that same file.
As the compiler errors are C# based, educational resources on C# can help you with your NinjaScript development and can help to understand the compile errors.
We look forward to assisting.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
26 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
26 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
18 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
29 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment