Announcement

Collapse
No announcement yet.

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 cmoran13, 04-16-2026, 01:02 PM
          0 responses
          43 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          25 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          162 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          98 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          158 views
          2 likes
          Last Post CaptainJack  
          Working...
          X