NexusFi: Find Your Edge


Home Menu

 





Matlab NT integration failure


Discussion in NinjaTrader

Updated
    1. trending_up 2,088 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?
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,759 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,647


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