PDA

View Full Version : Strange error on compile


maxpi
07-23-2007, 09:27 PM
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'"

NinjaTrader_Dierk
07-23-2007, 11:23 PM
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.

maxpi
07-24-2007, 07:11 AM
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 (http://www.ninjatrader-support.com/ninjatrader/nt6/NinjaTrader.Install.exe)

Sorry for the inconvenience.

No problem, thanks for the help

maxpi
07-24-2007, 07:17 AM
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.

NinjaTrader_Dierk
07-24-2007, 07:20 AM
My apologies: www.ninjatrader-support.com/ninjatrader/nt6/setup.exe (http://www.ninjatrader-support.com/vb/../ninjatrader/nt6/NinjaTrader.Install.exe)