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