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.
    JasonNinjaTrader Customer Service

    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 andrewtrades, Today, 04:57 PM
      0 responses
      0 views
      0 likes
      Last Post andrewtrades  
      Started by chbruno, Today, 04:10 PM
      0 responses
      3 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      436 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      6 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X