![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM 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: Apr 2007
Location: Longmont, Colorado, USA
Posts: 294
Thanks: 4
Thanked 3 times in 3 posts
|
Is there an easy way to rename custom indicators? I'd like all my custom indicators to be grouped together and I thought that I would rename them all with the same prefix. Thanks.
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
I would not call this easy but here is how I would do it:
- Open up the indicator you want to rename Tools > Edit NinjaScript > Indicator - Within the Editor, right click and select "Save As..." - Provide the new name - In the Editor, change the Class name and the Display Name - Compile - Tools > Edit NinjaScript > Indicator select the old one and press the "Delete" button ** Make sure when you save the file as a new name that you change the class name and description. If you do not at least change the class name you will get compile errors.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2007
Location: Longmont, Colorado, USA
Posts: 294
Thanks: 4
Thanked 3 times in 3 posts
|
It's considerably easier than starting over and cutting and pasting which I was thinking of doing. Thanks for the help.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Accessing value from custom indicator from strategy | funk101 | Strategy Development | 12 | 08-19-2008 08:41 AM |
| Adding a second symbol to a custom indicator | Folls | Indicator Development | 7 | 05-07-2007 02:06 AM |
| Using a custom indicator | SuzyG | Strategy Development | 17 | 03-13-2007 10:59 AM |
| Can't access 1 bar ago in custom indicator | AlohaBob | Indicator Development | 1 | 01-07-2007 02:42 AM |
| Easy Language Help | amodies | Automated Trading | 0 | 10-17-2006 03:24 AM |