Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Uncompilable ninjascript error box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Uncompilable ninjascript error box

    So I have been messing with strategies and the analyzer for days over and over. All of a sudden I get this error. I am not coding anything, just using the builder. Now I can not use the strategy builder at all. What is going on?

    Attached Files

    #2
    Hello Touch-Ups,

    Thank you for your note.

    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 the Windows 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.
    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip in our Help Guide:Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    71 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    43 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    25 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    28 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    56 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X