Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Custom Ninja Files on your PC That Have Prgramming Erros?
Collapse
X
-
Hello chaynes,
Please follow the instructions below to see where the errors are coming from after compiling the indicator.
For NinjaTrader 8:- Open NinjaTrader
- From the Control Center select the New menu--> select NinjaScript Editor
- Right-click in the window and select Compile to compile all NinjaScript objects
- At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations
If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)
We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip in our Help Guide:
CS0006 - Explanation of Cause
This error is caused when a .dll file is being referenced that NinjaTrader is unable to find.
Steps to Resolve- Right-click within the NinjaScript Editor window and select "References".
- Locate and select the reference to the .dll file mentioned in the Error.
- Click "remove" to remove the reference.
- Click "OK" and recompile.
This error is caused when NinjaTrader is searching for a reference to a .dll file, and the reference does not exist.
Steps to Resolve- Right-click within the NinjaScript Editor window and select "References".
- Click "Add".
- Locate the .dll file for the file mentioned in the error.
- Click "Open" to add the reference.
- Click "OK" and recompile.
This error indicates that a system indicator is missing from the NinjaTrader 8 -> bin -> Custom -> Indicator folder, or a corrupt file is currently present.
Steps to Resolve- Shut down NinjaTrader
- Navigate to Add/Remove Programs within the user's PC's Control Panel.
- Click "NinjaTrader 8" in the list of installed programs to select it.
- Click "Repair".
- Finally, restart NinjaTrader and recompile.
Below is a link to our publicly available YouTube channel overviewing this process:
Please let us know if we may be of further assistance.
Last edited by NinjaTrader_ChristopherJ; 03-10-2023, 11:06 AM.Christopher J.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
72 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
25 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
28 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
58 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment