Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript files with programming errors

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

    NinjaScript files with programming errors

    I am getting the "You have custom NinjaScript files on your PC that have programming errors..." message when trying to import a new script. I am not seeing any errors in the log though?

    #2
    Hello,

    I'd recommend reviewing the following help center page to help diagnose compile errors on your platform:



    Please let me know if you have any further questions however.

    Comment


      #3
      Thank you, Ryan. I believe the issue is an old version of an indicator. I've deleted the .dll, but continue to get the same error. How can I install the current version of the indicator when Import NinjaScript does not work due to the error?

      Comment


        #4
        Hello,

        The compile issues will need to be resolved before you install any further indicators as NinjaTrader must be able to compile successfully. Once you are able to resolve the compile errors and compile, you will be able to install indicators/scripts.

        Comment


          #5
          Originally posted by NinjaTrader_RyanS View Post
          Hello,

          The compile issues will need to be resolved before you install any further indicators as NinjaTrader must be able to compile successfully. Once you are able to resolve the compile errors and compile, you will be able to install indicators/scripts.
          Ryan,

          Those errors are resolved. I am now getting errors like this "
          AcmeIntermediateTPO8\1\3\0.cs The type or namespace name 'Acme' could not be found (are you missing a using directive or an assembly reference?) CS0246 33 11
          Click image for larger version

Name:	image.png
Views:	391
Size:	3.7 KB
ID:	1271344​.
          I contacted the vendor and they said Ninja platform support would have to help?

          Comment


            #6
            Hello,

            This error is caused when NinjaTrader is searching for a reference to a .dll file, and the reference does not exist.
            1. Right-click within the NinjaScript Editor window and select "References".
            2. Click "Add".
            3. Locate the .dll file for the file mentioned in the error.
            4. Click "Open" to add the reference.
            5. Click "OK" and recompile.

            Comment


              #7
              Thank you, Ryan! All set now

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Hwop38, 05-04-2026, 07:02 PM
              0 responses
              168 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Started by CaptainJack, 04-24-2026, 11:07 PM
              0 responses
              323 views
              0 likes
              Last Post CaptainJack  
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              250 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              350 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              179 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Working...
              X