Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error message

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

    Error message

    I tried to import a NS Archive file and got this message.

    Please advise.
    Attached Files

    #2
    Hello nepenthean,


    Thank you for your post.


    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy 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
    • Double click on the Indicators folder--> then double click on any of the indicators
    • Once the indicator code is in view 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 post 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 on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678


    Please let us know if we may be of further assistance.

    Comment


      #3
      I followed the instructions about how to debug in NT8, but when I double-clicked the lower pane (orange area) in NS Editor it failed to expand the object type folder. I was unable to exclude or delete.

      Please advise.
      Attached Files

      Comment


        #4
        Hello nepenthean,

        Thank you for your post.

        Please click and drag at the columns edge to expand the column showing the error messages. Then you can see what the message is referring to.
        If the errors messages refer to certain indicators, you could remove the indicators in question by going to the following directory:


        Documents\NinjaTrader 8\bin\Custom\ folder
        or
        Documents\NinjaTrader 8\bin\Custom\indicators\ folder

        Finding the indicator and deleting it from the folder will remove the indicator from NinjaTrader. After removing the indicator, you can compile to see if the errors are resolved.

        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, click 'Ok'.
        • Compile the indicator now by pressing F5.
        • The issues should be resolved and your NT should be again in properly compiled state

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

        Please also see the section "How to add a reference" from our help guide
        http://www.ninjatrader.com/support/helpGuides/nt8/index.html?using_3rd_party_indicators.htm

        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
        69 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        42 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        24 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        27 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        54 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X