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 Barry Milan, Yesterday, 10:35 PM
          5 responses
          16 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by DanielSanMartin, Yesterday, 02:37 PM
          2 responses
          13 views
          0 likes
          Last Post DanielSanMartin  
          Started by DJ888, 04-16-2024, 06:09 PM
          4 responses
          13 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by terofs, Today, 04:18 PM
          0 responses
          12 views
          0 likes
          Last Post terofs
          by terofs
           
          Started by nandhumca, Today, 03:41 PM
          0 responses
          8 views
          0 likes
          Last Post nandhumca  
          Working...
          X