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

This is a discussion on Metastock Developer's Kit(MDK)/MSX Help Needed... Please within the MetaStock forums, part of the Trading Software category; Hi, I need help in Metastock Developers Kit (MDK). I copied forum.dll and I try this code and it works: ...

Reply
 
LinkBack Thread Tools
Newbie
 
Join Date: May 2009
Posts: 1
Metastock Developer's Kit(MDK)/MSX Help Needed... Please

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
tengfei932 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
metastock developer's kit silviaic MetaStock 11 Jan 8, 2009 10:49pm
Help Needed NLadd First Steps 3 Oct 24, 2008 7:37am
VBA help needed grantx Technical Analysis 24 Oct 19, 2007 4:10pm
help needed kuvalanka General Trading Chat 1 Dec 30, 2006 5:01am


New To Site? Need Help?


All times are GMT -4. The time now is 3:58am.


Copyright © 2001-2009 Trade2Win Ltd