How-to remove .dll files from NinjaTrader - NinjaTrader | futures io social day trading
futures io futures trading


How-to remove .dll files from NinjaTrader
Updated: Views / Replies:3,513 / 7
Created: by PandaWarrior Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

How-to remove .dll files from NinjaTrader

  #1 (permalink)
Elite Member
In the heat
 
Futures Experience: None
Platform: NT
Favorite Futures: Energy
 
PandaWarrior's Avatar
 
Posts: 3,155 since Mar 2010
Thanks: 6,306 given, 13,250 received

How-to remove .dll files from NinjaTrader

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.

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
San Jose, Ca
 
Futures Experience: Beginner
Platform: Ninja
Broker/Data: AMP/CQG
Favorite Futures: Something moving
 
David_R's Avatar
 
Posts: 1,510 since Nov 2009
Thanks: 2,267 given, 2,371 received



PandaWarrior View Post
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.


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?

Reply With Quote
 
  #4 (permalink)
Elite Member
In the heat
 
Futures Experience: None
Platform: NT
Favorite Futures: Energy
 
PandaWarrior's Avatar
 
Posts: 3,155 since Mar 2010
Thanks: 6,306 given, 13,250 received


David_R View Post
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?

tried that...i get the error that says I have script with programming errors....so back to the bin/custom folder and how to remove the .dll files

Simplicity is the ultimate sophistication, Leonardo da Vinci


Most people chose unhappiness over uncertainty, Tim Ferris
Reply With Quote
 
  #5 (permalink)
Elite Member
Toronto, Canada
 
Futures Experience: Advanced
Platform: NinjaTrader, MT4
Broker/Data: Amp/CQG, Citibank
Favorite Futures: CL, GC, 6E, ES, TF, EURUSD, GBPJPY, AUDUSD
 
Beljevina's Avatar
 
Posts: 349 since Sep 2010
Thanks: 379 given, 564 received

Answer
This post has been selected as an answer to the original posters question Answer


PandaWarrior View Post
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.

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.

Reply With Quote
The following user says Thank You to Beljevina for this post:
 
  #6 (permalink)
Elite Member
In the heat
 
Futures Experience: None
Platform: NT
Favorite Futures: Energy
 
PandaWarrior's Avatar
 
Posts: 3,155 since Mar 2010
Thanks: 6,306 given, 13,250 received


Beljevina View Post
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.


Had to restart NT but it worked...thanks...

Simplicity is the ultimate sophistication, Leonardo da Vinci


Most people chose unhappiness over uncertainty, Tim Ferris
Reply With Quote
 
  #7 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


PandaWarrior View Post
Had to restart NT but it worked...thanks...

There are 2 ways to remove a .dll file.

(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.

Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
 
  #8 (permalink)
Elite Member
Michigan, Jackson
 
Futures Experience: Intermediate
Platform: NT and TS
Broker/Data: NT Continuum
Favorite Futures: ES, CL
 
Posts: 858 since Jul 2009
Thanks: 389 given, 547 received

the "sledge hammer" approach from NT website

This method may or may not work but it is an alternative should all else fail ...

See NT's website - Can't Get Rid of Reference - NinjaTrader Support Forum. A reply from a 'senior member' suggests the following -


Then you may have no choice but to use the shotgun/sledgehammer approach.

1. File --> Utilities --> Remove NinjaScript Assembly --> (if it is still showing), then click and remove.

2. If still no joy, then Close NT; rename and move NinjaTrader.Custom.dll and NinjaTrader.Custom.xml; restart NT.

("Rename and move", so that you can go back if you decide that the sledgehammer was too much ).

COTtrader
"Ken"

Reply With Quote

Reply



futures io > > > > How-to remove .dll files from NinjaTrader

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Background from CoronaSwingPsn??? tdaman NinjaTrader 1 February 26th, 2011 02:53 AM
Not sure where these script files belong / references - .dll - trouble grego NinjaTrader Programming 9 September 8th, 2010 09:44 AM
External DLL from Ninjatrader ehlaban NinjaTrader Programming 11 June 13th, 2010 12:42 PM
How to remove/not display indicator name? pkatta NinjaTrader Programming 2 April 5th, 2010 09:23 AM
How to remove error from ninjatrader archive file Bash NinjaTrader 4 March 15th, 2010 02:54 PM


All times are GMT -4. The time now is 09:34 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-14 in 0.12 seconds with 33 queries on phoenix via your IP 54.82.56.95