Loading External DLL on NT8 - Error - futures io
futures io



Loading External DLL on NT8 - Error


Discussion in NinjaTrader

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




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Loading External DLL on NT8 - Error

(login for full post details)
  #1 (permalink)
gsapir
Haifa israel
 
 
Posts: 7 since Aug 2017
Thanks: 0 given, 1 received

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 futures io?
For the experts of Metastock
Platforms and Indicators
TD Sequential for NT or MW?
Platforms and Indicators
1 min chart v-shape scan help please
ThinkOrSwim
MacdBB V402 NT804 + gradient + pullback not working on N …
NinjaTrader
Eurex Denali vs dxFeed
Sierra Chart
 
 
(login for full post details)
  #3 (permalink)
 rleplae 
Gits (Hooglede) Belgium
 
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
 
rleplae's Avatar
 
Posts: 2,991 since Sep 2013
Thanks: 2,437 given, 5,804 received



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 futures io Trade Journal Reply With Quote
 
(login for full post details)
  #4 (permalink)
gsapir
Haifa israel
 
 
Posts: 7 since Aug 2017
Thanks: 0 given, 1 received


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
 
(login for full post details)
  #5 (permalink)
 rleplae 
Gits (Hooglede) Belgium
 
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
 
rleplae's Avatar
 
Posts: 2,991 since Sep 2013
Thanks: 2,437 given, 5,804 received


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 futures io Trade Journal Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Loading External DLL on NT8 - Error


Last Updated on August 10, 2017


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts