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


No announcement yet.

Partner 728x90


NT8 and TradeStation 9.5 - DLL ninja functions not working

  • Filter
  • Time
  • Show
Clear All
new posts

    NT8 and TradeStation 9.5 - DLL ninja functions not working

    Hi, we are using TS 9.5 DLL method + NT8. When we call ninja DLL functions like NTCashValue and NTOrderState from within TS EL code we get no values returned. We have just upgraded from NT7 to NT8, so we are still using NT7 DLL functions in TS. Where is the Ninjatrader.ELD file for NT8 located? Also where is the NTDirect.DLL file located. Do you have any ideas as to why the Ninja functions are not working in TS? We just upgraded form NT7 to NT8, is this the problem? Via an .ELD file, do we have to import new NT8 DLL functions into TS or will the NT7 functions still work fine? what about the NTDirect.DLL file in System32 folder could this be the problem? Thanks in advance. Regards, Rod.

    We have just upgraded from NT7 to NT8. So we now need 2 files: (a) NTDirect.DLL file for NT8, plus, (b) NinjaTrader.ELD file for NT8 which imports the NT8 DLL functions into TradeStation. Where do I find these 2 files? Thanks in advance. Regards, Rod


      Hello Rocket130713,

      Thank you for the post.

      The DLL integration for Tradestation has been discontinued going forward with NinjaTrader 8. However, we will continue to support the TradeStation Email Interface moving forward. Information on using the Tradestation Email Interface can be found here: http://ninjatrader.com/support/helpG...ntegration.htm
      Note: Advanced users may still be able to utilize the DLL's on their own, but we no longer provide direct support for it.

      One item that can come up would be if you are also using NT7 for this on the same PC. If so, that may be part of the problem as both platforms utilize the same NTDirect.dll file. The last installed platform will update the dll which can cause problems when targeting one of the specific versions of NinjaTrader. You may try to the following steps to resolve that specific case:
      1. Completely Uninstall all versions of NinjaTrader
      2. Manually Delete NTDirect.dll from the following directories:
      3. C:\Program Files (x86)\NinjaTrader 8\bin
      4. C:\Program Files (x86)\NinjaTrader 8\bin64
      5. C:\Program Files (x86)\NinjaTrader 7\bin
      6. C:\Program Files (x86)\NinjaTrader 7\bin64
      7. C:\Windows\SysWOW64
      8. Reinstall only one (major) version of NinjaTrader

      As the NTDirect approach has been discontinued from NT8 this also entails that no .ELD file was generated for NT8 for this use case however you can still use the NT7 file materials as a reference for the tradestation syntax.

      I look forward to being of further assistance.
      JesseNinjaTrader Customer Service


      Latest Posts


      Topics Statistics Last Post
      Started by TopGun13, Today, 10:35 PM
      0 responses
      1 view
      Last Post TopGun13  
      Started by Audiofail, Today, 05:40 AM
      6 responses
      Last Post willwin
      by willwin
      Started by jerblaster23, Today, 03:42 PM
      1 response
      Last Post NinjaTrader_ChelseaB  
      Started by brian meade, Today, 01:39 PM
      2 responses
      Last Post brian meade  
      Started by Johnny Santiago, Today, 12:20 PM
      1 response
      Last Post NinjaTrader_ChrisL