Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

All Strategies Error Compiling

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

    All Strategies Error Compiling

    I haven't used any of my strategies in a while, and I went to create a simple one yesterday, and it was unable to compile, along with my other previously working strategies. So, I opened up the NT supplied 'Sample MACD Crossover' and it too was unable to compile. The two errors I get are CS1518 and CS1022, both of which are undocumented. I have no third party strats or indicators imported. Additionally I am unable to delete any strategies as I get the message "C/Doc.../Strat.cs can not be deleted. This file is likely referenced by other NinjaScript files and these dependencies need to be removed first." All error messages reference the name of one of my strategies which used to execute fine and was never edited and I am at a loss as to what it could be.

    #2
    Hello BigAAPL,

    You could use the following workaround. Note that you will lose all custom and third party NinjaScript files.

    Create a backup file with 'NinjaScript files' unchecked(!).


    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.


    Restore your settings and your NinjaScript files should compile successful.

    Comment


      #3
      That was an interesting tour of the galaxy. Thanks, all is well now.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X