Left overs from uninstalled indicator

  • I installed TradingRevealed.VwapBands.NT8
  • I wanted to delete this indicator again, so I opened Ninja script editor and deleted all the indicators that were created byTradingRevealed.VwapBands.NT8.
  • When I check my logfiles, the indicators is still loading TradingRevealed.VwapBands.NT8
  • But I don’t find any traces of it in Ninja script editor.
  • I do however still find this:

Can I just delete these leftovers or can it cause problems like “error in non compiled code”?

I’d reinstall Ninja Trader from scratch and reinstall only the indicators I want, one by one, maybes somebody else has a better idea.

That’s a huge job as I have a lot of own indicators.

What I wanted to do is :

  1. backup the map “NinjaTrader8” from my C drive
  2. delete the leftovers manually
  3. check if it causes problems
  4. if it causes problem I put my backup back over the map "NinjaTrader8 from my C drive
  5. if it causes no problems, the problem is fixed.

I think that’s easier than reinstall everything from scratch.
Everything works at this moment without any problem. I just get irritated if I see downloads from removed indicators.
What is strange is that one (of the several) indicators that is installed by “TradingRevealed.VwapBands.NT8” can be selected and installed from the indicators list. Because Ninja script editor cannot find this indicator.

Have you tried going directly to the folder and deleting the files that way? I know you can delete the cs files. I’ve had to do that a few times when “improving” an indicator, which made it not properly coded and caused NT to crash.

I know I can do that, but I am afraid that some leftovers can cause problems when compiling indicators. It can crash your NT8. I had in past already such a problem, and manually delete something did crash my NT8 completely.

The only solution is indeed to do that I think. But to first backup the NT8 map on C drive.
After that delete manually the leftovers.
If then BT8 crashes I would put back my backup and things should work again. The backup will “restore” the situation.

Your likely going to fight 2 issues in order to remove.
1st .. The dll and the cs in your bin/custom folder
2nd .. A reference to the dll in the NT editor

A.) One Step Removal
Control Center / Tools / Remove NT Assembly

  • Find your Assembly in that list and Remove it
    (Restart NT required, but also removes reference)

B.) TWO Step Removal
Close/Save NT to a blank Workspace (nothing but cc open)

  • Directly remove offending dll and css from custom folder
  • Restart NT, Open editor, right click in editor, references
    (Make sure offending dll reference is removed from list!)
  • Compile anything.. If compile works, your good to go

C.) One Step Removal
With Option B.. After deleting the dll and cs directly

  • Instead of reopening NT to remove reference from editor..
    (which possible still might cause error until removed)
    References section of Config.xml can be directly modified.
    (This probably cleanest easiest solution if comfortable.)
2 Likes

@Edge
Thanks for your solution. I will take A. After reading that, I think that I used that solution once a few years ago for an indicator that I created myself.

Thanks for your help! :slightly_smiling_face:

1 Like