NexusFi: Find Your Edge


Home Menu

 





Loading External DLL on NT8 - Error


Discussion in NinjaTrader

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




 
Search this Thread

Loading External DLL on NT8 - Error

  #1 (permalink)
gsapir
Haifa israel
 
Posts: 7 since Aug 2017
Thanks Given: 0
Thanks Received: 1

Hi,

Every framework I'm trying to use, I get the same run-time error:

Strategy 'xxx': Error on calling 'OnBarUpdate' method on bar 0: Could not load file or assembly 'encog-core-cs, Version=3.3.0.0, Culture=neutral, PublicKeyToken=3e882172b12155d4' or one of its dependencies. The system cannot find the file specified.

I tried 4 different frameworks and different versions - always the same issue - so it's 100% issue in the NT8 (or the way I use it).


PLEASE try to help me here.

to get the DDL file I do:
C:\Users\XXX\Desktop\NT8\FW>C:\Users\XXX\Downloads \nuget.exe install encog-dotnet-core -Version 3.3.0

than I'm loading the DDL by the official NT8 guide: "using_3rd_party_indicators.htm"
(I can't post links here because it's only my 4th post)


thanks.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
About a successful futures trader who didnt know anythin …
Psychology and Money Management
MC PL editor upgrade
MultiCharts
 
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



gsapir View Post
Hi,

Every framework I'm trying to use, I get the same run-time error:

Strategy 'xxx': Error on calling 'OnBarUpdate' method on bar 0: Could not load file or assembly 'encog-core-cs, Version=3.3.0.0, Culture=neutral, PublicKeyToken=3e882172b12155d4' or one of its dependencies. The system cannot find the file specified.

I tried 4 different frameworks and different versions - always the same issue - so it's 100% issue in the NT8 (or the way I use it).


PLEASE try to help me here.

to get the DDL file I do:
C:\Users\XXX\Desktop\NT8\FW>C:\Users\XXX\Downloads \nuget.exe install encog-dotnet-core -Version 3.3.0

than I'm loading the DDL by the official NT8 guide: "using_3rd_party_indicators.htm"
(I can't post links here because it's only my 4th post)


thanks.


I encountered a similar problem in the past with encog with NT 7
the issue was that the .NET version of NT7 and encog was different.

1) what is the platform NT8 is using and what is the encog build ?

2) the encog library is not a 3rd party indicator, it is a 3party library
in NT 7 you did add it by opening any indicator source and then right clicking and adding a reference to the DLL

hope this helps, even it's not 100% for NT8, but it might help you

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
gsapir
Haifa israel
 
Posts: 7 since Aug 2017
Thanks Given: 0
Thanks Received: 1


rleplae View Post
I encountered a similar problem in the past with encog with NT 7
the issue was that the .NET version of NT7 and encog was different.

1) what is the platform NT8 is using and what is the encog build ?

2) the encog library is not a 3rd party indicator, it is a 3party library
in NT 7 you did add it by opening any indicator source and then right clicking and adding a reference to the DLL

hope this helps, even it's not 100% for NT8, but it might help you


1. this is the version I have: 8.0.8.0 (Standard)
How do I check the .NET build ?
the encog is: \encog-dotnet-core.3.3.0\lib\net35

I get the same exact issue with Accord.

2. do you mean that I can use the library in an indicator and not in a strategy ?

Reply With Quote
  #5 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


gsapir View Post
1. this is the version I have: 8.0.8.0 (Standard)
How do I check the .NET build ?
the encog is: \encog-dotnet-core.3.3.0\lib\net35

I get the same exact issue with Accord.

2. do you mean that I can use the library in an indicator and not in a strategy ?

I looked it up for you
NT 8 is .NET version 4.5
can you try to find or recompile a version of Encog for the same .NET version ?

Once it works, you will be able to used it in your indicator code and in strategy code

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on August 10, 2017


© 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