Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
The problem about Matlab & MultiCharts
Updated November 4, 2012
trending_up
3,012 views
thumb_up
0 thanks given
group
2 followers
forum
3 posts
attach_file
0 attachments
The problem about Matlab & MultiCharts
November 4th, 2012, 01:15 AM
Gongren Road 55#,Tielin
Posts: 3 since Mar 2012
Thanks Given: 1
Thanks Received: 0
hello:
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 ,
how to interfacing Maltab with MultiCharts?
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
ps:EasyLanguage and Custom DLLs — I have read this articel,but may not understand fully.
How to write codes in PowerLanguage?
thanks.
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
November 4th, 2012, 01:23 AM
London
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58
yonghu123
hello:
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 ,
how to interfacing Maltab with MultiCharts?
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
ps:
EasyLanguage and Custom DLLs — I have read this articel,but may not understand fully.
How to write codes in PowerLanguage?
thanks.
What were you looking for when you read the article?
Read your error message: Invalid number of parameters
Go to the manual and look up the number of parameters required. Problem solved.
November 4th, 2012, 02:15 AM
Gongren Road 55#,Tielin
Posts: 3 since Mar 2012
Thanks Given: 1
Thanks Received: 0
Bimi
What were you looking for when you read the article?
Read your error message: Invalid number of parameters
Go to the manual and look up the number of parameters required. Problem solved.
Thank you for your replies.
Syntax on the book:
DefineDLLFunc: “DLLNAME.DLL”, Return Type, “FunctionName”,
Parameters ;
According to the definition:“Parameters is the list of parameters expected by the function."
Only price timeseries in Dfa function.How should I do ?
November 4th, 2012, 02:32 AM
London
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58
yonghu123
Thank you for your replies.
Syntax on the book:
DefineDLLFunc: “DLLNAME.DLL”, Return Type, “FunctionName”,
Parameters ;
According to the definition:“Parameters is the list of parameters expected by the function."
Only price timeseries in Dfa function.How should I do ?
The dfa is not suitable for MultiCharts .
I thought you said you wrote the DLL? You should know.
Last Updated on November 4, 2012