Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with Import/ Export Ninja Script

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

    Problem with Import/ Export Ninja Script

    Hello.

    When I try to either import or export a NinjaScript archive file, I get the following message,

    "You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can import / export a NinjaScript Archive File"

    How do I find out what files its choking on?

    Regards,
    R. C.

    #2
    R.C.,

    Please go to Tools -> Edit NinjaScript and open any file in the NinjaScript Editor. Then press F5 to compile. Any errors will show up in a list on the bottom and these need to be addressed first.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      This is the error

      Thanks for the quick response.

      When I attempt to compile an indicator, this is the message ..

      "NinjaScript File = Indicator\@ADL.cs

      Error = The type 'System.Web.Services.Protocols.SoapHttpClientProto col' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Services. Version=2.0.0.0. Culture=neutral, PublicKey Token = some hex stuff

      Code = CS0012

      How do I add this reference?

      Regards,
      R. C.

      Comment


        #4
        NinjaScript Editor -> right click -> References -> Add

        File would likely be in C:\Windows\Microsoft.NET\Framework\v2.0.50727\
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          That solved it!

          Thanks for the help,
          R. C.

          Comment


            #6
            Finally! I found a solution!

            Thanks Josh! You don't know how long I've search for the solution to this error. Don't know why it happens. Do you?

            Comment


              #7
              Hello,

              I am sorry this is beyond our level of support.
              DenNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CaptainJack, 05-29-2026, 05:09 AM
              0 responses
              232 views
              0 likes
              Last Post CaptainJack  
              Started by CaptainJack, 05-29-2026, 12:02 AM
              0 responses
              149 views
              0 likes
              Last Post CaptainJack  
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              161 views
              1 like
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              243 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              198 views
              0 likes
              Last Post CarlTrading  
              Working...
              X