PureBytes Links
Trading Reference Links
|
Not unless your indicator is an external function. All function
arguments are the variables declared within the function itself.
You can however use another function to store "global variables" and
use the fmlvar() function to retrieve them.
{Indicator: myVariables}
ShortMALength:=10;
LongMALength:=100;
myShoeSize:=8.5;
{Indicator: myMACD}
ShMA:=FmlVar("myVariables","ShortMALength");
LnMA:=FmlVar("myVariables","LongMALength");
ShMA-LnMA;
{Indicator: AnotherIndicator}
FmlVar("myVariables","ShortMALength")-FmlVar("myVariables","myShoeSize");
;
etc
Whenever you change the values in myVariables it changes every for
every function that uses these variables.
--- In equismetastock@xxxxxxxxxxxxxxx, Paolo <italoarg76@xxx> wrote:
>
> Hi!
> I'd like know if it's possible to GIVE parameters to an indicator.
> Eg. Myindicator(2,-1)
> In C/Basic/Pascal,etc it's possible.
> Is it possible in Metastock ?
> Thanks a lot.
> Pablo
>
> Now for spanish-speakers: quisiera saber si puedo pasar parametros a
> un indicador creado por mi tal como lo haria con una funcion o
> procedimiento de Pascal,C u otros lenguajes.
> Se que hay hispanoparlantes entre nosotros :)
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/ulNZQC/lOaOAA/cosFAA/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/
|