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

Strange error on compile

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

    Strange error on compile

    I get the following error on compiling an indicator that I start with the wizard, before adding any code. Should it compile ok at that point? I recall reading that compiling compiles all the indicators...

    Description,File,Line,Column,
    The namespace 'NinjaTrader.Indicator' already contains a definition for 'ATR',Indicator\AvgRange2.cs,25,15,

    AvgRange2 is another indicator I tried to write by copying or renaming the ATR indicator that comes with NT.

    I can't delete AvgRange2, I get another error message saying "AvgRange2 cannot be deleted. It is referenced by '.cs'"
    Last edited by maxpi; 07-23-2007, 09:38 PM.

    #2
    NT6R3 holds bug which screws up your NinjaScript files in case you rename an indicator. Please hold off renaming indicators until NT6R4 will be available (the next few days).

    To repair your installation, please:
    - uninstall NT6 via control panel
    - backup your NS script directory <my documents>/NinjaTrader/bin/Custom
    - manually remove your NS script directory <my documents>/NinjaTrader/bin/Custom
    - reinstall NT from here: https://www.ninjatrader-support.com/...er.Install.exe

    Sorry for the inconvenience.

    Comment


      #3
      Originally posted by NinjaTrader_Dierk View Post
      NT6R3 holds bug which screws up your NinjaScript files in case you rename an indicator. Please hold off renaming indicators until NT6R4 will be available (the next few days).

      To repair your installation, please:
      - uninstall NT6 via control panel
      - backup your NS script directory <my documents>/NinjaTrader/bin/Custom
      - manually remove your NS script directory <my documents>/NinjaTrader/bin/Custom
      - reinstall NT from here: www.ninjatrader-support.com/ninjatrader/nt6/NinjaTrader.Install.exe

      Sorry for the inconvenience.
      No problem, thanks for the help

      Comment


        #4
        That link to reinstall gives me an error 404 in German. I kept the downloaded file from the install, I can use it again I would think.

        Comment


          #5
          My apologies: www.ninjatrader-support.com/ninjatrader/nt6/setup.exe

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Gerik, Today, 09:40 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by RookieTrader, Today, 09:37 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by alifarahani, Today, 09:40 AM
          0 responses
          5 views
          0 likes
          Last Post alifarahani  
          Started by KennyK, 05-29-2017, 02:02 AM
          3 responses
          1,285 views
          0 likes
          Last Post NinjaTrader_Clayton  
          Started by AttiM, 02-14-2024, 05:20 PM
          11 responses
          186 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X