MC DLL programming

Questions about MultiCharts and user contributed studies.
wall richard
Posts: 60
Joined: 28 Dec 2007
Has thanked: 9 times
Been thanked: 1 time

MC DLL programming

Postby wall richard » 14 Jan 2013

Currently I have MC standard and MC 64 installed. I am interested in applying an ENCOG3 NN written in C# to either a DLL or directly for use within a sturdy. I have read most of the forum posts in this regard and note they evolve over the years. I prefer to use standard MC/MC64 as I am not ready for MC.NET yet. What is the latest status for applying outside code for use within MC/MC64?

Thank You,

rwall

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: MC DLL programming

Postby Andrew MultiCharts » 15 Jan 2013

Hello Wall Richard,

Here is an example how a particular function from external .dll file:

Code: Select all

DEFINEDLLFUNC: ThreadSafe, "shared_data.dll",void,"set_data", lpstr,int,double;
Input: key(string), index(NumericSimple), value(Numeric);
set_data(key, index, value);

wall richard
Posts: 60
Joined: 28 Dec 2007
Has thanked: 9 times
Been thanked: 1 time

Re: MC DLL programming

Postby wall richard » 16 Jan 2013

Back Ground: Jeff Heaton of Heaton Research has open source software neural nets written in C# in his ENCOG3. My plan is to call a NN from a DLL in Heaton's ENCOG3. This NN function may be used by MC. I need assistance in calling a NN function from a DLL.

Thank You,

rwall

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: MC DLL programming

Postby Andrew MultiCharts » 17 Jan 2013

If you send us the .dll file to ashuvlenov@multicharts.com, let me know, what particular function you would like to call from your script and its parameters, i can try to help you.


Return to “MultiCharts”