Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
how do I remove an NT .dll file if I get an error that says the file is in use or the disk is write protected...neither of which is true...I got an error saying I had the same .dll in the custom folder and had to remove one of them before I could import anything.
Can you help answer these questions from other members on NexusFi?
I forget which pulldowns, and I'm not sure if this is correct, but it might be where can remove the assembly. Utilities ....remove assembly and pick the one you want. That is all I can think off, but not sure. Sorry.
Big help, Huh?
Bring up any indicator for editting (Tools->Edit Ninjascript-> and pick one). With the indi code edit window up, right click and choose REFERENCES, highlight the DLL and click DELETE. If you can get that far, you may have to choose COMPILE from the menu, to recompile the existing indi on your screen (which you have not made changes to), to get NT "co-operative" again.
If you get errors from within that window, when you choose COMPILE (having made no changes to the indi you brought up), the very bottom of the window should show you which indicator NT feels is problematic.
If some of that works (or none), I often just exit NT, and remove the offending *.cs file; I think you can do the same with the DLL after having exited NT; not sure it should complain when you restart, but, a combination of those steps will almost always get you out of the loop.
(1) If possible remove it via File -> Utilities -> Remove NinjaScript Assembly
(2) If (1) does not work, then edit any indicator via Tools -> Edit NinjaScript -> Indicator. Then compile at have a look at the error messages. The error messages will indicate the offending files. Delete all offending indicators.
(3) If there are some offending assemblies, you can remove them manually. To remove an assembly manually, first shut down NinjaTrader. Then open the folder My Documents -> NinjaTrader 7 -> bin -> Custom. For each of the assemblies you will find 4 files with identical names but different extensions. The extensions are .cs, .dll, .X64.dll and .X86.dll. Delete all 4 files of the offending assembly. After deletion restart NinjaTrader and then edit any indicator. Right click with the mouse on the open indicator, select references and then delete the references to the assemblies, which you have removed before.
(4) After removing the references press F5 to compile. If you get anymore error messages repeat step 3 until your installation is clean.