Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript Files on your PC that have programming errors

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

    NinjaScript Files on your PC that have programming errors

    How do I clear this error? "You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive File".

    #2
    Hello tampatrader,

    Thank you for the message.

    Please use the following steps to see where the compile errors are coming from and send that in your response so we may provide more detailed information on how to resolve them:
    • Open NinjaTrader
    • Go to the Control Center > New > NinjaScript Editor > Right-click on the background > Click Compile
    • If any errors appear, make the window full screen and then send us a screenshot of as many of the errors as possible.
      • If you are unsure of how to take a screenshot, I recommend using the Windows Snipping tool.
        • Click on the Windows Icon at the bottom of your screen and type the word "Snip"
        • Click on the Snipping tool, click New, then click and drag around the area you want to screenshot
        • Click File > Save As > Save the screenshot where you can find it
        • Please click here for a video demonstration


    Once we have the screenshot we will respond with the specific steps that are needed to make these compile errors go away.

    We look forward to your response and resolving your inquiry.​

    Comment


      #3
      Here is the errors using the instructions you provided. I do not use any of these indicators and would be fine removing them if that is the solution - Thank you Click image for larger version

Name:	NinjaError.jpg
Views:	356
Size:	78.2 KB
ID:	1316599

      Comment


        #4
        In the Ninjascript editor window, try to right click and select References from the dropdown. Look like the list of references and remove the ones that are in your screenshot error. Then try to compile again, and the errors should be gone.

        Comment


          #5
          Hello! I am having a similar issue here are screenshots of my errors. I just deleted a lot of files in my Ninja Trade 8 documents file that contained and keyword "Apex".
          I recognize that these files had to do with some of the Apex add-ons i had. But how can i complete teh process so that they are removed cleanly? Thank you

          Comment


            #6
            Hello mfzillln​,

            Thank you for reaching out.

            This error is caused when NinjaTrader is searching for a reference to a .dll file, and the reference does not exist.
            Below I have included the steps to resolve these compile errors:
            • Right-click within the NinjaScript Editor window and select "References".
            • Click "Add".
            • Locate the .dll file for the file mentioned in the error (N8_Markers_Plus_2021_01_3...dll" & BookmapNinjalndicator.dll" & and any others for which you see error CS0246. Once you resolve this main class of errors, when you compile, all others should be resolved as well).
            • Click "Open" to add the reference.
            • Click "OK" and recompile.
            • Repeat until there are not more compile errors
            Also for your reference I have included a link to a video demonstrating these steps:Please let us know if we may be of any further assistance.​
            Erick P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            61 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