NexusFi: Find Your Edge


Home Menu

 





Matlab NT integration failure


Discussion in NinjaTrader

Updated
    1. trending_up 2,260 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
arnoldhorvath
Budapest
 
Posts: 2 since Jul 2013
Thanks Given: 0
Thanks Received: 0

Error on calling 'OnBarUpdate' method for indicator 'BollingerKalmanPairsTrade' on bar 0:
Could not load file or assembly 'TradeSignalITradeSignalBoKal, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The system cannot find the file specified.

Hello Everyone !

I am in pain. I do not have a clue how to proceed.
My compiled matlab code works like a charm in Visual Studio c#, however Ninjatrader is stuck with the above error.

1) dlls are compiled into .net version 3.5, 64bit
2) I use NT 64 bit
2) they are in the bin\custom directory
3) I restarted NT and reboot the machine, etc.

How can I debug what is wrong ? Any ideas ?

Thanks a lot


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
No book, only a stair: journaling fills where price move …
Cryptocurrency
My Rant with AMP Futures
Trading Reviews and Vendors
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
 
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Administrator
 
Posts: 3,779 since Jun 2009
Thanks Given: 3,840
Thanks Received: 4,709


Did you add the reference(s) of the .dll ?
In the code editor: <left-click> -> references... -> Add...


Success requires no deodorant! (Sun Tzu)
Reply With Quote
  #4 (permalink)
arnoldhorvath
Budapest
 
Posts: 2 since Jul 2013
Thanks Given: 0
Thanks Received: 0

Yes I did and. I followed the Type-Safe interface path, that failed.

The normal MWArray method seems to work, no matter how ugly it is with the long casts and constant cast exceptions.

Thank you for the help anyway.

Were you successful with the Type-Safe interface ? 32-bit or 64 bit ? Which matlab version ? Were there any tricks ?


Reply With Quote




Last Updated on September 16, 2013


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts