• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to import new script

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

    Unable to import new script

    When i try to import a new strategy I get an error message:

    Screenshot:
    http://prntscr.com/et5b6q

    What could i do to solve this problem?

    Tks!

    #2
    Hello,

    Please follow the steps below to highlight the error, you can also use the steps below to exclude offending files or further diagnose what may be causing the error.
    • Open NinjaTrader
    • From the Control Center select the New menu--> select NinjaScript Editor
    • Open any file using the browser on the right
    • Right click in the window and select Compile to compile all NinjaScript objects
    • At the bottom of the NinjaScript Editor window a new section will appear where you can find the error locations


    You can exclude the file referenced in the editor by double clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.

    If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)

    To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

    Click here for instructions

    Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    Click here for detailed instruction

    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678


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

    Comment


      #3
      Hi I followed your steps Then i get a T3 average error. I readdy dont know this indicator i Never used it. When i press 'exclude from complilation ' then i get even more erros (first i had one error now i have many erros. Whatcan i do best? when i try to reinstall ninja some files were saved and I still have this problem.

      Screenshot:
      http://prntscr.com/et6d67

      Comment


        #4
        Hello,

        Thank you for doing that.

        It looks like that is an Indicator but has been placed in the ChartStyles folder. This would create a problem. Please manually remove this file, and then complete the compile steps again to highlight any other errors and provide an image once again.

        You can find the file in question in the following folder: Documents\NinjaTrader 8\bin\Custom\ChartStyles

        After removed, you can compile and check for errors which there may be other errors as well. We can look into correcting those items after removing this.

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

        Comment


          #5
          It works, TKS!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by StealthM93, Today, 07:58 PM
          0 responses
          2 views
          0 likes
          Last Post StealthM93  
          Started by Mykro, Today, 11:01 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by bauerjj10, Today, 12:24 PM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Newtrader101, Today, 06:01 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_EricB  
          Started by Steve L, Today, 03:50 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X