• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Indicators holds on to bin\Customer references that were never used

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Custom Indicators holds on to bin\Customer references that were never used

    Hello -

    I used some 3rd party DLLs in another indicator. I deleted that indicator then removed the DLLs from the \bin\Custom folder.

    When I opened another indicator that I am writing that DOES NOT use the DLLs and attempt to compile, I get error messages showing references to those files cannot be found.

    This should not happen.

    See the attached screenshot. I have also attached the log files and trace files from today.

    Thanks,
    Mark
    Attached Files

    #2
    Hello Mark,

    Manually removing dll files from the NinjaTrader folder in Documents is guaranteed to cause compile errors.

    May I confirm you have used the proper method to remove an assembly in the Tools -> Remove NinjaScript Assembly... menu?

    If you have not, you will need to manually remove the references as well to repair NinjaTrader.
    Right-click the NinjaScript Editor, remove all dll references that have errors in the Editor window.

    If you are wondering why you receive an error when compiling only one unrelated indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible and to ensure that all dependencies are met for all scripts.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      That was it Chelsea B. Thanks for the reminder.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Cyanez, Today, 05:05 PM
      0 responses
      2 views
      0 likes
      Last Post Cyanez
      by Cyanez
       
      Started by Polo Trader, Today, 03:28 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by Mykro, Today, 03:26 PM
      2 responses
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Polo Trader, Today, 03:14 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_Tyler  
      Started by kantkant2, Today, 03:20 PM
      3 responses
      15 views
      0 likes
      Last Post kantkant2  
      Working...
      X