NexusFi: Find Your Edge


Home Menu

 





Matlab NT integration failure


Discussion in NinjaTrader

Updated
    1. trending_up 2,008 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?
Synapse Pro - Trade Copier with topstep and MT5 integrat …
NinjaTrader
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
Prop Firms Are Banning Gold Trading as Record Prices Mak …
Funded Trading Evaluation Firms
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


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


Success requires no deodorant! (Sun Tzu)
Follow me on X 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