PDA

View Full Version : Best way to delete preinstalled Indicators and Strategies


Oil_Trader
01-19-2011, 03:39 PM
Best way to delete preinstalled Indicators and Strategies?

What's the best practice to do this?

upshon
01-19-2011, 03:53 PM
If you delete the relevant .cs file from "My Documents\NinjaTrader 7\bin\Custom\Strategy" or "My Documents\NinjaTrader 7\bin\Custom\Indicator" Then recompile.

I would be careful of deleting indicators as some of them may be used in other indicators and you will get errors trying to compile.

NinjaTrader_RyanM
01-19-2011, 04:00 PM
Hello Oil_trader,

There is no supported way of deleting system indicators. As Upshon indicates you can browse/delete files through windows but you should only do this if you are comfortable with this process. If your NT installation goes awry because you manually delete system indicators we will be unable to help you resolve.

Oil_Trader
01-19-2011, 04:02 PM
OK but it is safe to delete the strategies with the Lock symbol?

upshon
01-19-2011, 04:05 PM
Make sure you have a backup before deleting, from my experience the worst that will happen if you delete the wrong file you will get a compile error, if you then replace the mistakenly deleted file all will then work.

Hope this helps.

majormongo
02-05-2011, 08:30 PM
Hi Gang...I need some help.

How do I delete .cs "imported" indicators?

I show them appearing in my "indicators" window (when I'm on a chart - they're in the side window (see attached pic), eventhough I have manually removed them from "docs/NT7/bin/custom/indicator".

The one highlighted "rwblib" does do exist and is causing "compile errors"...so how do I nuke these indis soI can do a fresh reinstall of my .cs files?

also, how can "deleted" .cs files actually still appear in the indicators window AND function normally when you add them to a chart?

Thx Mongo

NinjaTrader_Austin
02-05-2011, 09:37 PM
majormongo, please also check compiled assemblies. You can remove indicators from here by going to File -> Utilities -> Remove NinjaScript Assembly.

Once you've deleted the files, be sure to compile your indicators again to completely remove them from NinjaTrader.

majormongo
02-05-2011, 10:52 PM
Hey Austin - tried the File/Utilities/Remove NS assembly...nothing appeared in the window to remove.

If you look at the attached screen grab, I'd like to remove the following indis; rwbHA, rwbMA2 and rwblib...where do I locate and remove these from?

Thx MM

majormongo
02-05-2011, 10:54 PM
see attached...

MM

NinjaTrader_Austin
02-06-2011, 01:32 PM
MM, do these indicators appear in the Tools -> Edit NinjaScript -> Indicators window? If so, please try deleting from there.

koganam
02-06-2011, 10:00 PM
Best way to delete preinstalled Indicators and Strategies?

What's the best practice to do this?

Tools -> Edit NinjaScript -> Indicators window

Then right-click on the indicator and select the option to delete it, and confirm the deletion in the box.