Metastock Developer's Kit(MDK)/MSX Help Needed... Please

tengfei932

Newbie
Messages
1
Likes
0
Hi,

I need help in Metastock Developers Kit (MDK). I copied forum.dll and I try this code and it works:
prd:=PeakBars(1,C,5)-1;
data:=ExtFml("Forum20.Ref",C,prd);


But if I try to make my own code with my own function then it show error "This variable or expression must contain only constant data." for "prd" :
prd:=PeakBars(1,C,5)-1;
data:=ExtFml("MyCode.Ref",C,prd);

I try to make the function just like they have in the example CSampleDLL.cpp. But it still showing me same error. What mistake am I doing. Why my function only accept constant and not the calculate "prd".?

Please Please help. I am going mad solving this.:(

Thank You
Teng Fei
 
To All Members of this community,
I need metastock developer's kit write version immediately.I want to purchase that kit from any body.
Please help me.
My mail id is [email protected]
Please communicate me in this id only.
Waiting for your reply.
Raju
 
Top