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.
    Ryan S.NinjaTrader Customer Service

    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.
        Ryan S.NinjaTrader Customer Service

        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:	199
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.
            Ryan S.NinjaTrader Customer Service

            Comment


              #7
              Thank you, Ryan! All set now

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Jimmyk, 01-26-2018, 05:19 AM
              8 responses
              863 views
              0 likes
              Last Post emuns
              by emuns
               
              Started by giulyko00, 04-24-2024, 12:03 PM
              6 responses
              29 views
              0 likes
              Last Post giulyko00  
              Started by 00nevest, 04-27-2024, 02:27 PM
              3 responses
              27 views
              0 likes
              Last Post 00nevest  
              Started by Newtrader101, Today, 07:36 AM
              0 responses
              4 views
              0 likes
              Last Post Newtrader101  
              Started by 21laienoch, Today, 07:25 AM
              0 responses
              7 views
              0 likes
              Last Post 21laienoch  
              Working...
              X