Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add-on custom NinjaScript files errors message

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

    Add-on custom NinjaScript files errors message

    I am getting an error message when I try to import a NinjaScript add-on. Need help on how to resolve this. Thank in advance. Here is an image of the error message ​

    #2

    Hello smtraderca,

    Thank you for your note.

    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.
    • 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.

    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.
    Eric B.NinjaTrader Customer Service

    Comment


      #3
      Hi Eric B,
      thanks for the quick response and your assistance. Attached is the screenshot of the compile errors. Please advise what to do to resolve. Thanks again.

      Comment


        #4
        Hello smtraderca,

        Thank you very much for the screenshot.

        As Eric is currently out of the office I am following up on his behalf.

        This error indicates that NinjaTrader is missing a DLL file for this script. To resolve this, please right-click the editor's background and select "References".

        Once open, please click on "Add" and search for a file associated with the indicator. This would likely be called NinZaHorizontalLabel_NT8.dll. Once this file has been added, please re-compile, as this should then remove the error.

        Should this not work, or if you have any further questions, please don't hesitate to let us know!
        Manfred F.NinjaTrader Customer Service

        Comment


          #5
          Hi Manfred F,
          thank you very much for the help. I did what you've suggested and problem resolved. Thank you & Eric.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Rapine Heihei, 04-23-2024, 07:51 PM
          2 responses
          30 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by Shansen, 08-30-2019, 10:18 PM
          24 responses
          943 views
          0 likes
          Last Post spwizard  
          Started by Max238, Today, 01:28 AM
          0 responses
          9 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by rocketman7, Today, 01:00 AM
          0 responses
          5 views
          0 likes
          Last Post rocketman7  
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          28 views
          0 likes
          Last Post wzgy0920  
          Working...
          X