Powered by Jitbit Asp.Net Forum free trial version.
home recent topics recent posts search faq  

MicroTrends NinjaTrader Forum



register | lost password   open id
Messages in this topic - RSS

Home » MicroTrends NinjaTrader Framework » Unable to remove NinjaTraderFramework Dependencies

MicroTrends NinjaTrader Framework questions and posts
02/06/2010 13:08:49

Tom Leeson
Tom Leeson
Administrator
Posts: 661
This is not a recommended route for "non technical" traders - in otherwords if you do no tunderstand about development/coding etc then skip this and read the previous post
If you are unable to remove the old code even though you do not have any custom indicators or strategies then - you do have the option of manually removing the old framework directly.

You will need to close NinjaTrader.
Navigate to your personal user documents folder contains the 3rd party custom dlls
C:\Users\[user]\Documents\NinjaTrader 6.5\bin\Custom

If you create a new folder called old within the custom folder
C:\Users\[user]\Documents\NinjaTrader 6.5\bin\Custom\old
You can simply move the microtrends files to that folder

Now you can restart NinjaTrader and try to import the new framework.

If you still get an error message such as unable to import due to scripting errors - then this means that you have custom indicators/strategies which reference the classes in the dlls you moved to old.

You will need to remove the files that reference the old framework from the folders:
C:\Users\tom\Documents\NinjaTrader 6.5\bin\Custom\Strategy
C:\Users\tom\Documents\NinjaTrader 6.5\bin\Custom\Indicator

These store the *.cs script files that are installed by NT and also any custom indicators/strategies that you have created and saved.
edited by tom on 02/06/2010

--
MicroTrends tom
0 permalink
02/06/2010 12:36:58

Tom Leeson
Tom Leeson
Administrator
Posts: 661
If you try to remove the old framework or older versions of MicroTrends products and get an error which prevents you removing:

#1 Have you tried to simply import over the top of the old framework?
This is possible if the framework dlls have the same name - you will need to restart afterwards

#2Have you programmed any indicators or strategies that use the old indicicators or strategies?
If so you will need to remove these before you can remove the old framework.

This is easily achieved by using the Edit NinjaScript utility - you can browse, select and delete them safely from there.
Tools >Utilities > Edit NinjaScript > Strategies
or
Tools >Utilities > Edit NinjaScript > Indicators

Then remove the old framework from> File > Utilities / remove NinjaScript Assembly
edited by tom on 02/06/2010
edited by tom on 02/06/2010
edited by tom on 02/06/2010

--
MicroTrends tom
0 permalink

Home » MicroTrends NinjaTrader Framework » Unable to remove NinjaTraderFramework Dependencies





Powered by AspNetForum 7.0.1.0 © 2006-2011 Jitbit Software