I have wroten a simple function called indicator Dfa in Matlab .
for example: result = Dfa(timeseries) ,
I want to use the indicator Dfa on MultiCharts,
Has anybody figured out how to interfacing Maltab with MultiCharts?
ps:I used MCR (MATLAB Compiler Runtime) generate Dfa.dll.
DefineDLLFunc: "D:\FILES\Dfa.dll", float, "Dfa";
inputs:
Price(Close),
Length( 200 );
variables:
var1( 0 ),
var1 = Dfa(Price, Length) ;
------ Compiled with error(s): ------
Invalid number of parameters. 0 parameter(s) expected
How to write codes in PowerLanguage?
thanks.
Please figured out how to interfacing Maltab with MultiChart
- TJ
- Posts: 7752
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1034 times
- Been thanked: 2228 times
Re: Please figured out how to interfacing Maltab with MultiC
I have wroten a simple function called indicator Dfa in Matlab .
for example: result = Dfa(timeseries) ,
I want to use the indicator Dfa on MultiCharts,
Has anybody figured out how to interfacing Maltab with MultiCharts?
ps:I used MCR (MATLAB Compiler Runtime) generate Dfa.dll.
DefineDLLFunc: "D:\FILES\Dfa.dll", float, "Dfa";
inputs:
Price(Close),
Length( 200 );
variables:
var1( 0 ),
var1 = Dfa(Price, Length) ;
------ Compiled with error(s): ------
Invalid number of parameters. 0 parameter(s) expected
How to write codes in PowerLanguage?
thanks.
see:
EasyLanguage Reference Guide
CHAPTER 4, EasyLanguage and Custom DLLs
Defining a DLL Function .... Pg. 170
Re: Please figured out how to interfacing Maltab with MultiC
I have read this articel,but did not understand fully.
see:
EasyLanguage Reference Guide
CHAPTER 4, EasyLanguage and Custom DLLs
Defining a DLL Function .... Pg. 170
Would you give me to explain it combined with the above Dfa example?
thank you very much.