Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

NinjaScript files error

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

    NinjaScript files error

    Hello,

    I try to import an indicator but it says I have ninjascript files error that should be solved before importing. I attach a screenchot.

    How can I solve the problem? I don´t even know which one is it

    Thanks

    Sincerely
    Attached Files

    #2
    Hello,

    Thank you for the post.

    For this item I would suggest to complete the steps below, and then take a screenshot of the resulting errors and submit them to platform support [at] ninjatrader.com. Please include a link to this forum post for our reference and we can provider further steps to resolve the error.
    1. Open NinjaTrader
    2. From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    3. Select ANY indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).
    4. A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    5. At the bottom of the window a new section will appear where you can find the error locations.



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hello Jesse,

      Thanks for your reply. I followed your instructions and then I went to the folder ninjatrader custom and deleted all the indicators that gave me an error (all of them were imported indicators that were working fine before I my computer crashed while NT was working)

      When I turned the computer on again I had to configure my account connection again and from that moment on is that I am given errors when trying to import any indicator.

      So, as I told you, I deleted the indicator that I was given an error but then I tried again to compile an indicator and new errors happened. Again all of them with indicators that were working fine before.

      What can I do?

      Thanks

      Sincerely

      Comment


        #4
        I had to add the indicators deleted again, it is like a neverending story, if not other errors were produced. I attach 2 screenshots. I am completely lost...
        Attached Files

        Comment


          #5
          Please follow these steps to completely uninstall and reinstall NinjaTrader 8 on your system. Please then repeat the instructions my colleague Jesse left and let us know if you continue to see the same behavior.


          • Download a fresh copy of NinjaTrader 7 from ninjatrader.com
          • Close NinjaTrader 7
            • To ensure NinjaTrader is closed completely, please press the windows key (to the left of the space bar) and the letter r at the same time, and type in
              taskkill /f /im NinjaTrader.exe
              and press enter

          • Rename your (My) Documents\NinjaTrader 7\db\NinjaTrader.sdf file to something unique. I prefer names that include today's date
          • Rename your (My) Documents\NinjaTrader 7 folder to something else that is unique. I prefer names that include today's date.
          • Use the installer you downloaded to uninstall, and then reinstall, NinjaTrader 7
          • Copy these files and folders from your old, renamed (My) Documents\NinjaTrader 7 folder to your new folder. If asked to replace files, always select "yes"
            • Config.xml
            • UI.xml
            • workspaces
            • templates
            • all .dll files in bin\Custom except these :
              • NinjaTrader.Custom.dll
              • NinjaTrader.Vendor.dll

            • all .cs files in bin\Custom except these :
              • NinjaTrader.Custom.cs
              • NinjaTrader.Vendor.cs
              • AssemblyInfo.cs

            • any subfolder of bin\Custom that has a .cs file that does not start with an @ sign

          • Start NinjaTrader 7. You will receive some dialogs about Ninja being unable to start because it needed to recompile some dlls. OK out of these dialogs
          • Start NinjaTrader 7 once more
          Jessica P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by frslvr, 04-11-2024, 07:26 AM
          9 responses
          123 views
          1 like
          Last Post caryc123  
          Started by rocketman7, Today, 09:41 AM
          4 responses
          15 views
          0 likes
          Last Post rocketman7  
          Started by selu72, Today, 02:01 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Zachary  
          Started by WHICKED, Today, 02:02 PM
          2 responses
          16 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by f.saeidi, Today, 12:14 PM
          8 responses
          21 views
          0 likes
          Last Post f.saeidi  
          Working...
          X