PDA

View Full Version : Easy way to rename a custom indicator?


higler
05-19-2007, 09:19 AM
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.

NinjaTrader_Ray
05-19-2007, 10:01 AM
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.

higler
05-19-2007, 10:47 AM
It's considerably easier than starting over and cutting and pasting which I was thinking of doing. Thanks for the help.