• 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

programming errors

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

    programming errors

    Hello fellow traders,

    if I try to import a ninja script I get the message that there is a script that contains programming errors. How can I find out which one it is and how can I eleminate it?

    Thany you for an answer
    Regards
    Carl

    #2
    Hi joker23,

    The error indicates your current NinjaScript files contain errors, which need to resolved first before you can import new NinjaScript files.

    Please follow the instructions below to see where the errors are coming from after compiling any indicator or strategy. This will allow you to debug the indicator/ strategy or remove it from your PC. If you’re wondering why you receive an error when compiling only one indicator or strategy, it is because NinjaTrader compiles all indicators and strategies. Not just one.

    1) Open NinjaTrader
    2) From the Control Center -> Tools -> Edit NinjaScript -> Indicator
    3) Select an indicator and double click on it.
    4) A new window will appear and you will need to right click and compile the indicator.
    5) At the bottom of the window a new section will appear were you can find the error locations. Double click the error and you will be directed to the location of the error.
    6) From there you have the option to remove the indicator or debug it. You can delete NinjaScript files via Tools-->Edit NinjaScript-->Indicator/Strategy, highlight it and select Delete

    You can find general debug information at the link below.
    http://www.ninjatrader-support2.com/...ead.php?t=3418

    In addition, you can try the following workaround as well. Note that you will lose all custom and third party NinjaScript files.

    Create a backup file with 'NinjaScript files' unchecked.
    http://www.ninjatrader-support.com/H...ABackupArchive

    Uninstall NinjaTrader via the Windows Control Panel-->Add/Remove Programs (XP), Programs and Features (Vista).

    Delete the My Documents-->NinjaTrader 6.5 folder. Do not delete the NinjaTrader backup folder.

    Clear your browser cache and download and install NinjaTrader 6.5 at the link below.
    http://www.ninjatrader.com/webnew/download_download.htm

    Restore your settings and you should be able to import new NinjaScript files again.
    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks a lot for helping me so quickly. If its a matter of interest for you, my homepage is:

      www.thetradewarrior.de

      Carl

      Comment


        #4
        Same Issue. Any Updated Info

        Hello,

        I have the same issue, but haven't downloaded any indicators and the links below no longer work. Any updated info you could provide?
        Thanks,

        Comment


          #5
          Are you able to compile your indicators from the NinjaScript editor?

          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.
          6. From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.

          This should tell you where the errors are coming from.

          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
          MatthewNinjaTrader Product Management

          Comment


            #6
            Same Issue. Cannot delete system indicators.

            Thanks for the reply. Yes, I can compile. When I try to delete the indicator, the window tells me it is a system indicator and cannot be deleted. I have multiple system indicators I have never used that are generating generating program errors.

            Thanks for any help.

            Comment


              #7
              24Corners,

              Can you please provide a screenshot of the compile errors that you are receiving?

              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.
              Go the to post, click reply -> Go Advanced -> Click the Paperclip in the top toolbar

              For detailed instructions please visit the following link

              http://take-a-screenshot.org/
              Cal H.NinjaTrader Customer Service

              Comment


                #8
                Same Issue. Cannot delete system indicators.

                Here you go...
                Attached Files

                Comment


                  #9
                  24Corners,

                  Please send me a request to support[at]ninjatrader[dot]com
                  Put ATTN Cal in the subject and reference this thread in the body.

                  Thank you for your patience.
                  Cal H.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Da vinci, Today, 04:19 PM
                  0 responses
                  6 views
                  0 likes
                  Last Post Da vinci  
                  Started by brunoviveiros, Today, 09:36 AM
                  1 response
                  19 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by GARZONJ, Today, 11:22 AM
                  1 response
                  10 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Started by KonalGondal, Today, 10:18 AM
                  1 response
                  19 views
                  0 likes
                  Last Post NinjaTrader_Kate  
                  Started by Jorge.andres.o, Today, 09:24 AM
                  4 responses
                  23 views
                  0 likes
                  Last Post NinjaTrader_PaulH  
                  Working...
                  X