Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Programming errors must be resolved before compiling
Collapse
X
-
Programming errors must be resolved before compiling
I'm trying to load other custom indicators and I get an error message saying I must resolve before compiling but the two errors are "system indicators" so how do I deal with these so I can get back to adding my custom indicators?Tags: None
-
Hello xanderdagr8,
Thank you for your post.
You likely have a compilation error in one of your existing installed addons that is preventing you from importing any further addons. You will need to find which indicator is causing the issue and remove/reimport it or delete it altogether.
Please follow the instructions below to see where the errors are coming from after compiling your NinjaScript files. This will allow you to debug the indicator/strategy causing the issue or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.
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
- You can exclude the file referenced in the editor by double-clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left-click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.
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)- To send a screenshot with Windows 7 or newer I would recommend using Window's, Snipping Tool.
- Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
- Open your NinjaTrader folder under My Documents.
- Right-click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
- Send the 2 compressed folders as attachments to this email.
- Once complete, you can delete these compressed folders.
Thanks in advance; I look forward to resolving this item.
-
Hello,
I do not think that helped my issue. Attached is a screenshot of my issue to give you more detail. It seems to be an issue with the NinjaTrader indicators and not my add-ons, I could be wrong though but that is what it looks like to me. Look forward to your reply so I can get back to working today. Thanks in advance.
Comment
-
Do you see, in your screenshot, how you have a copy of @ATR.cs named ATR-DESKTOP-SOMETHING there? You should go into Documents -> NinjaTrader 8 -> bin -> Custom -> Indicators and get rid of that, and the other one starting with EMA as well, leaving just the original ones @ATR.cs and @EMA.cs. You can move the errant files out to your desktop for now and then recompile. It's hard to say if that will solve it but it seems likely it would be an improvement in your situation and help you understand how you have duplicates for the two system indicators.
Comment
-
Comment
-
If your risk files are messed up, there's something deeper going on here. You can find those files in Documents -> NinjaTrader 8 -> templates -> Risk and one approach is, if you didn't do anything yourself to the risk templates, just delete them all and then run a repair installation by going to account.ninjatrader.com and downloading the latest desktop version (lower left) and running a repair installation. That will put them back.
Or, you can identify the duplicate there and delete it, then restart the platform.
Support may have better guidance but that's looking in the right area.
What hasn't been said here is how did all this get messed up in the first place.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
111 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
59 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
38 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
41 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
78 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment