[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EquisMetaStock Group] Passing arguments to functions



PureBytes Links

Trading Reference Links

This is from the Manual, except I have removed the VAR in the external
function name, which it shouldn't be . atleast on my metastock.

 

"7) Variable MA Functions

 

This is the same function as the MetaStock Moving Average functions except
that you are allowed to use a variable as periods. Calculates a PERIODS
moving average of DATA ARRAY using METHOD calculation method.  

 

The syntax:  

 

ExtFml("forum.MOV", Data Array, Periods, Method)

 

 

Example 1: 

 

ExtFml("forum.MOV", C, 10, Simple)

{Returns the a  simple 10 period average of the close}

 

Example 2: 

 

ExtFml("forum.MOV", Typical(), Mov(C,10,E), E)

{A moving average based of another average .}"

 

The equis forum is free to join , and the forum.dll and manual can be
downloaded from the site.  Patrick is the author of the dll. There is a
similar free dll available from www.thedml.com <http://www.thedml.com/> 

 

Regards

 

Dave

 

 

 

 

 

 

 

  _____  

From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx]
On Behalf Of Lionel Issen
Sent: Wednesday, 8 March 2006 4:53 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: RE: [EquisMetaStock Group] Passing arguments to functions

 

I'm not a member of that group. Can you post the key items?



Lionel



  _____  

From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx]
On Behalf Of david
Sent: Tuesday, March 07, 2006 4:05 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: RE: [EquisMetaStock Group] Passing arguments to functions



Hi Stefano



Have a look at 



http://forum.equis.com/drm_main.php?mode=drm_cat_view
<http://forum.equis.com/drm_main.php?mode=drm_cat_view
<http://forum.equis.com/drm_main.php?mode=drm_cat_view
<http://forum.equis.com/drm_main.php?mode=drm_cat_view&cat=8> &cat=8>
&cat=8> &cat=8



the forum dll from the equis forum.



Regards



Dave







  _____  

From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx]
On Behalf Of gramaglia2000
Sent: Tuesday, 7 March 2006 11:53 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Passing arguments to functions



Hello,
I am quite new to Metastock and I would like to use because I have to
share some code with some friends.
I used Tradestation and Amibroker: there is possible define functions
and pass arguments; for example:
function fMyAvg(P, length)
{ avg(P/2, length); }
So in different startegies or indicators I can write
fMyAvg(C,10);

I did not fund anything similar in Metastock; I can define
MyAvg
length:=10;
mov(C, length, S);
but I can not call it changing the lenght value, i.e.:
fmlvar("MyAvg", "length") := 5; { just tried to change it; error...}
m := fml("MyAvg");

Is it possible to do it in Metastock.
Any help would be appreciated.

Ciao,
Stefano









  _____  

YAHOO! GROUPS LINKS 



*      Visit your group "equismetastock
<http://groups.yahoo.com/group/equismetastock> " on the web.
  
*      To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<mailto:equismetastock-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
  
*      Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 



  _____  



[Non-text portions of this message have been removed]




SPONSORED LINKS 


Business
<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+course&w1=Business+fin
> &k=Business+finance+course&w1=Business+fin
ance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Bus
iness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+sc
hools&c=6&s=185&.sig=I8jDsORmsaYn0BeqghcJ2w>  finance course 

Business
<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Business+to+business+finance&w1=Busines
> &k=Business+to+business+finance&w1=Busines
s+finance+course&w2=Business+to+business+finance&w3=Small+business+finance&w
4=Business+finance+consultant&w5=Business+finance+magazine&w6=Business+finan
ce+schools&c=6&s=185&.sig=fCzze7cxm1K7TVKkzAaOrA>  to business finance 

Small
<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Small+business+finance&w1=Business+fina
> &k=Small+business+finance&w1=Business+fina
nce+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Busi
ness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+sch
ools&c=6&s=185&.sig=v9sWAno7Kz4WuL8Tadcdhw>  business finance 


Business
<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+consultant&w1=Business
> &k=Business+finance+consultant&w1=Business
+finance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4
=Business+finance+consultant&w5=Business+finance+magazine&w6=Business+financ
e+schools&c=6&s=185&.sig=d1xwT3WL0E6XBf6cAV5BXA>  finance consultant 

Business
<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+magazine&w1=Business+f
> &k=Business+finance+magazine&w1=Business+f
inance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=B
usiness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+
schools&c=6&s=185&.sig=qphRINaNuVm_6bwoQxgUmg>  finance magazine 

Business
<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+schools&w1=Business+fi
> &k=Business+finance+schools&w1=Business+fi
nance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Bu
siness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+s
chools&c=6&s=185&.sig=1RfnhYZpV99RKWRZzSH4gA>  finance schools 



  _____  

YAHOO! GROUPS LINKS 



*      Visit your group "equismetastock
<http://groups.yahoo.com/group/equismetastock> " on the web.
  
*      To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<mailto:equismetastock-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
  
*      Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 



  _____  



[Non-text portions of this message have been removed]




SPONSORED LINKS 


Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+course&w1=Business+fin
ance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Bus
iness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+sc
hools&c=6&s=185&.sig=I8jDsORmsaYn0BeqghcJ2w>  finance course 

Business
<http://groups.yahoo.com/gads?t=ms&k=Business+to+business+finance&w1=Busines
s+finance+course&w2=Business+to+business+finance&w3=Small+business+finance&w
4=Business+finance+consultant&w5=Business+finance+magazine&w6=Business+finan
ce+schools&c=6&s=185&.sig=fCzze7cxm1K7TVKkzAaOrA>  to business finance 

Small
<http://groups.yahoo.com/gads?t=ms&k=Small+business+finance&w1=Business+fina
nce+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Busi
ness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+sch
ools&c=6&s=185&.sig=v9sWAno7Kz4WuL8Tadcdhw>  business finance 


Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+consultant&w1=Business
+finance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4
=Business+finance+consultant&w5=Business+finance+magazine&w6=Business+financ
e+schools&c=6&s=185&.sig=d1xwT3WL0E6XBf6cAV5BXA>  finance consultant 

Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+magazine&w1=Business+f
inance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=B
usiness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+
schools&c=6&s=185&.sig=qphRINaNuVm_6bwoQxgUmg>  finance magazine 

Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+schools&w1=Business+fi
nance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Bu
siness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+s
chools&c=6&s=185&.sig=1RfnhYZpV99RKWRZzSH4gA>  finance schools 

 

  _____  

YAHOO! GROUPS LINKS 

 

*	 Visit your group "equismetastock
<http://groups.yahoo.com/group/equismetastock> " on the web.
  
*	 To unsubscribe from this group, send an email to:
 equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<mailto:equismetastock-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
  
*	 Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 

 

  _____  



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/