![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
|
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 at 09:38 PM.
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
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: http://www.ninjatrader-support.com/n...er.Install.exe Sorry for the inconvenience.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Senior Member
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jun 2007
Posts: 151
Thanks: 0
Thanked 0 times in 0 posts
|
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.
|
|
|
|
|
|
#5 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
My apologies: www.ninjatrader-support.com/ninjatrader/nt6/setup.exe
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compile error with UserDefinedMethods | NinjaTrader_Josh | Indicator Development | 6 | 06-06-2007 08:34 AM |
| Strange problem with Pats connection | max1ci6 | Connecting | 1 | 03-02-2007 12:46 AM |
| Compile error with MIN and MAX variable assignment | lewdfinger | General Programming | 2 | 02-10-2007 07:13 AM |
| MarketPosition.Flat compile error | DarrylT | Strategy Development | 3 | 01-10-2007 05:49 AM |
| try to compile but | Elmi | Indicator Development | 1 | 11-05-2006 01:40 AM |