Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

incompilable ninjascript

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

    incompilable ninjascript


    Hello, I have had some problems with nt8, after reinstalling it and copying the file folders (indicators, strategies, custom templates) when wanting to create or edit a strategy I get this error that I attach in the image, and it does not let me execute any strategy either . How do I fix this error? Thanks


    #2
    Hello Bruno55,

    Thank you for your post.

    Please follow the instructions below to see where the errors are coming from after compiling the NinjaScript object. This will allow you to debug the NinjaScript object, exclude it from the compiler, or remove it from your PC. If you are wondering why you receive an error when compiling only one NinjaScript object, it is due to NinjaTrader compiling all NinjaScript objects - not just one. This is done to give you the highest runtime performance possible.
    • 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 the error messages refer to a reference .dll file. This indicates you are missing some required reference DLL's or have corrupted ones listed - please follow the steps below to rectify the errors.

    To resolve reference errors:
    • Right click in the code section of the NinjaScript editor.
    • In the context menu click on 'References'
    • In the Reference dialog, if a reference to the noted DLL files exists already then select the DLL's which are giving errors one by one and click on the 'Remove' button.

    After removing, add back the reference with the right path :
    • In the Reference dialog, Click on the 'Add' button.
    • Select all the missing DLL's (located in the Documents\NinjaTrader 8\bin\Custom\ folder or in the NinjaTrader installation folder, typically C:\Program Files (x86)\NinjaTrader 8\bin64) one by one and then click 'Ok'. [Please adjust if needed for 32 bit setup]
    • Compile the indicator now by pressing F5.
    • The issues should be resolved and your NT should be again in properly compiled state

    Here is a publicly available link to a video tutorial demonstrating these steps.



    Please also see the section "How to add a reference" from our help guide

    Using 3rd Party Indicators

    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this publicly available tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678

    Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.

    Comment

    Latest Posts

    Collapse

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