PDA

View Full Version : Deleting custom indicators


grd974
08-14-2007, 12:33 AM
I have 4 custom indicators with programming errors that I am unable to correct and that I want to get rid of.
As I do Control Center>Tools>Edit NinjaScript>Indicator...>Delete, I get this message : "You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can delete a NinjaScript file".

How can I be getting through ? Do I have to reinstall NT ?

NinjaTrader_Dierk
08-14-2007, 01:07 AM
Please check out latest custom build:
- uninstall NT6 via control panel
- clear your browser cache
- install custom build from here: www.ninjatrader-support.com/ninjatrader/nt6/NinjaTrader.Install.msi

Please let us know if problem persist. Thanks

maskiepop
08-20-2007, 01:54 AM
Please check out latest custom build:
- uninstall NT6 via control panel
- clear your browser cache
- install custom build from here: www.ninjatrader-support.com/ninjatrader/nt6/NinjaTrader.Install.msi (http://www.ninjatrader-support.com/ninjatrader/nt6/NinjaTrader.Install.msi)

Please let us know if problem persist. Thanks

I have the same problem. Now, all the indicators I tried, NT's and mine, come up with the same error when I compile.

Do I follow your suggestions above?

NinjaTrader_Ray
08-20-2007, 06:53 AM
First see what the compile errors are. Open any indicator, press F5 in the editor, a list of errors and associated files will be listed in the bottom of the editor. Double click on any error to take you to it.

maskiepop
08-20-2007, 10:05 AM
I see what's happening.

I coded one indicator badly; I want to delete it. I don't want to debug it. So I ignore the bad indicator, write another one, but find I can't compile the new one either. The compiler simply reverts to the bad indicator and try to recompile that. Maybe it did compile the other indicator successfully, but I don't get any message about that.

Is that how NT is suppose to behave? If so would you have any suggestion as to the quickest way to get this bad indicator to compile cleanly, so that I can delete it?

NinjaTrader_Ray
08-20-2007, 10:09 AM
Can you try deleting the problem indicator to see if it will delete?

maskiepop
08-20-2007, 07:17 PM
Can you try deleting the problem indicator to see if it will delete?

I've tried that - several times already. NT wants me to resolve the errors first before deleting it.

NinjaTrader_Ray
08-20-2007, 08:24 PM
Open up the indicator, compile it, it will generate a list of errors, double click on the errors to bring up the problem file and resolve these errors. You can comment out areas of problem in the code and try to compile.

In next NT6 version, we will address this issue where a file can not be deleted if there are compile errors.

snake
09-25-2007, 02:00 PM
I am also having problems deleting Custom Indicators. This is one of the errors I'm getting:

Description:
The namespace 'NinjaTrader.Indicator' already contains a definition for 'CCI'

File
Indicator\@CCI.cs

Line
25

Column
15

Other errors include EME, LinReg, SMA and SUM.:confused:

Your instructions for handling these errors is to 'comment out' the error. Please send instructions how to do that since I cannot find it in the Help Files.

Any help will be appreciated,
:confused:

NinjaTrader_Dierk
09-25-2007, 02:03 PM
Please make sure you are 6.0.1000.5. You then should be able to delete erroneous indicators.

snake
09-25-2007, 06:51 PM
Please make sure you are 6.0.1000.5. You then should be able to delete erroneous indicators.

Yes, I am using 6.0.1000.5, as suggested in your reply.

I ununstalled NT6 via control panel, cleared browser cache, and installed custom build from: http://www.ninjatrader-support.com/n ... etc.

Still unable to delete error after compiling.

How do I 'comment out the errors' as suggested in one of your previous replies. I can't find out how to do that from 'Help'

Please send instructions about how to 'comment out the errors'
:mad:

NinjaTrader_Dierk
09-25-2007, 11:57 PM
a) To double check: You are unable to delete a custom indicator of your, meaning the deletion process is aborted by an error message. If that is the case, then please PM me your zipped <my documents>/NinjaTrader6/bin/Custom folder to dierk AT ninjatrader DOT com. I would want to take a look why that is.
b) To uncomment erroneous code in your custom indicator: click on the error message in the error, the cursor will be put at the erroneous code line, mark the complete line and the press CTRL-K-C or add "//" in front of the line. The code line then should be marked in green.