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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
58 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
27 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
17 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
24 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
24 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment