Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

External reference compiles but doesn't work

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

    External reference compiles but doesn't work

    I've used Sqlite in my custom indicator for almost ten years starting back in the NT7 days. I remember demoing the NT8 early betas and didn't have a problem referencing this external dll but now when I try to do it in the latest version (8.0.5.2), it doesn't work.

    I used to modify the Config.xml file but that didn't work so I tried adding the reference by right-clicking in the ninjascript editor. The dll gets added without any errors and compilation also works as well. Once I open the indicator list on a chart, I see the "Could not load file or assembly" error in the console output.

    I'm using the same dll that I've always used before. Any ideas on this? Am I adding the reference incorrectly?

    #2
    Hello,
    Thank you for the note.
    Please first ensure that you copy the sqlite.dll into C:\Users\<user name>\Documents\NinjaTrader 8\bin\Custom.
    Your SQLite dll might be a 32 bit dll since you were using it with NinjaTrader 7. If you are running NinjaTrader 8 as a 64 bit application the dll will not load. Try to obtain the 64 bit version of the dll and see if that works.
    Note that the latest version on NinjaTrader is 8.0.6.1 and most importantly that Indicators developed for NinjaTrader 7 will not run on NinjaTrader 8 unless they are ported by the vendor or yourself.
    If we may be of any further assistance, please let us know.

    Comment


      #3
      Sorry, I realized I posted this in the NT7 forum. I literally just reposted in NT8 a few minutes ago. I will reply there.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      626 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      359 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      562 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      567 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X