Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            571 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            548 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            549 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X