PureBytes Links
Trading Reference Links
|
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&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]
------------------------ 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/
|