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

Can't compile or delete Strategies or Indicators

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

    Can't compile or delete Strategies or Indicators

    NT no longer compiles (errors: CS0021, CS1518, CS1001, CS1022)

    and will not delete Strategies and Indicators
    (Error: This file is likely referenced by other NinjaScript files and these dependencies need to be removed first.)

    There are no "dependencies"...

    What happened? NT has completely blown up...

    Rob
    Last edited by RobVig; 06-18-2016, 10:12 PM. Reason: typo

    #2
    Hello,
    Please provide a screenshot of the errors you are receiving when you are trying to compile.
    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 screenshot 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
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      Thanks for responding Cody!

      Here are a few examples (screenshots attached) of the errors I am receiving:
      Attached Files
      Last edited by RobVig; 06-20-2016, 08:44 AM.

      Comment


        #4
        Cody,

        I was curious if you received my screenshots and have any suggestions as I am still "dead in the water" with NT right now.

        Thank You,
        Rob

        Comment


          #5
          Hello,
          From the log file it appears that there are some syntax errors within the KissOfDeath strategy. If I were to guess it seems there are some missing braces within that strategy. I would need to view the whole strategy to confirm this though.
          Concerning the dependencies error when deleting you would need to delete the NinjaScript file that is referencing the RVTestDra2w3HighLowRects11 file. You could manually delete this file by going to (My) Documents > NinjaTrader 7/bin/Custom/Strategy and deleting the .cs file.
          Cody B.NinjaTrader Customer Service

          Comment


            #6
            Cody,

            I deleted the two files from that directory and it's all working again. (pretty simple fix...)

            Thank You!
            Rob

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by gentlebenthebear, Today, 01:30 AM
            3 responses
            15 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by PhillT, Today, 02:16 PM
            2 responses
            6 views
            0 likes
            Last Post PhillT
            by PhillT
             
            Started by Kaledus, Today, 01:29 PM
            3 responses
            10 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by frankthearm, Yesterday, 09:08 AM
            14 responses
            47 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by PaulMohn, Today, 12:36 PM
            2 responses
            17 views
            0 likes
            Last Post PaulMohn  
            Working...
            X