![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2005
Location: , ,
Posts: 218
Thanks: 0
Thanked 0 times in 0 posts
|
I've deleted some indicator source code (.cs) files from the Custom\Indicator directory but they continue to be displayed in the Indicators dialog. Since the source code is gone, I assume these removed indicators are cached somewhere. How can I get then to stop displaying in the Indicators dialog.
thanks, shawnj |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
I recommend restoring the .cs file from you recycle bin then removing the indicator via Tools>Edit>Indicator>select the indicator>Delete.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2005
Location: , ,
Posts: 218
Thanks: 0
Thanked 0 times in 0 posts
|
Unfortunately I perminately deleted the .cs files.
As a workaround, I've tried renaming an existing .cs file and all references to the indicator's class name to the deleted name and copying it into the Custom\Indicator directory. When I delete that file using "Tools>Edit>Indicator>select the indicator>Delete" it still exists in the Indicators Dialog. If I try to compile that renamed file then I get the following error: "The namespace 'NinjaTrader.Indicator' already contains a definition for 'yourStubornIndicator' " Surely I'm not the first idiot to make this mistake <g>. Could you point me a little deeper into the bowels of NT to fix this. Will uninstalling and reinstalling NT clean things up? thanks, shawnj |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
shawnj,
Please remove the renamed file you have. Press F5 to compile. Do you still get the error? It should compile and that should remove it from the list for you.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jan 2005
Location: , ,
Posts: 218
Thanks: 0
Thanked 0 times in 0 posts
|
I fixed it.
Ok, I probably am the first idiot to do this. I apparently renamed the .cs files in Custom\Indictor from within Windows Explorer (instead of from the NT Editor) and as such the file names did not match up with the class names. The Indicator Dialog, of course, displays the class names not the file names. Removing these files then doing a compile on another (unrelated) file cleaned up the Indicators Dialog. Sorry for the inconvenience.
Last edited by shawnj; 01-20-2009 at 03:29 PM.
|
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Hi shawnj, are you trying to get rid of third party indicators previously installed on your system?
The 'syncronization' you refer to is normally achieved with the compilation of your NinjaScript files.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jan 2005
Location: , ,
Posts: 218
Thanks: 0
Thanked 0 times in 0 posts
|
Sorry Bertrand. I think I was editing that message when you replied. Please reread my last (edited) message. Sorry for the inconvenience.
|
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
No problem shawnj, great you figured it out.
Please never edit the names in the Windows explorer > do it directly in the NinjaScript editor to avoid this issue in the future.
Bertrand
NinjaTrader Customer Service
Last edited by NinjaTrader_Bertrand; 01-20-2009 at 03:41 PM.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Speeding things up: If Indicators Dialog Applied, not need to recalculate on Closing | NinjaCustomer | Suggestions And Feedback | 6 | 12-12-2008 09:56 PM |
| How to remove indicator | Javier | Miscellaneous Support | 2 | 11-16-2008 10:41 AM |
| How do we reenable the Rollover dialog and New Version dialog. | shawnj | Miscellaneous Support | 5 | 06-17-2008 04:41 PM |
| Indicators Dialog Polish | shawnj | Suggestions And Feedback | 1 | 06-12-2008 03:43 PM |
| Indicator add - remove | rgil65 | Indicator Development | 3 | 07-20-2007 10:02 AM |