NexusFi: Find Your Edge


Home Menu

 





Matlab NT integration failure


Discussion in NinjaTrader

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




 
Search this Thread

Matlab NT integration failure

  #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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
About a successful futures trader who didnĀ“t know anyth …
Psychology and Money Management
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
 
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


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 Twitter 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts