PureBytes Links
Trading Reference Links
|
Hi, my suggestion:
{=======================================}
pds:=Input("Periodo", 1,2000,28);
wt0:=Sum(C-Ref(C,-1),pds);
wt1:=If(wt0=0,0.00001,wt0);
wt2:=Sum(V-Ref(V,-1),pds);
wt3:=If(wt2=0,0.00001,wt2);
wt4:=(C - Ref(C,-1))/wt1;
MOMA:=Sum(C*Wt4,pds);
wt5:= (V - Ref(V,-1))/wt3;
VOMA:=Sum(C*Wt5,pds);
VOMOMA:=(MOMA+VOMA)/2;
wt6:=pds/Sum(pds,pds); {I'm not sure but you can
check this }
WMA:=Sum(C*Wt6,pds);
WEVOMO:=(MOMA+VOMA+WMA)/3;
{ -----------TYPE ----------------------}
type:=Input("1-MOMA 2-VOMA 3-VOMOMA 4-WMA 5-WEVOMO", 1,5,4);
z1:=If(type=1,MOMA, If(type=2, VOMA, If(type=3, VOMOMA, If(type=4, WMA, WEVOMO ))));
z1;
{=======================================}
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/DEOZVC/fOaOAA/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/
|