PureBytes Links
Trading Reference Links
|
Hi Roy and all,
You are right about MACD function. What do you think about peak() and
trough()?
Regards, Hani :)
----- Original Message -----
From: "Roy Larsen" <rlarsen@xxxxxxxxxxxxxx>
To: <Metastockusers@xxxxxxxxxxxxxxx>
Sent: Wednesday, January 26, 2005 4:19 AM
Subject: Re: [Metastockusers] Re: How to reproduce the zig zag
>
> Hi Hani
>
> > Looking at this example in MS coding functions :
> >
> > MACD () function produces the same as the following code:
> >
> > mp1:=Input("Short MA",1,377,12);
> > mp2:=Input("Long MA",1,377,26);
> > Mov(C ,mp1 ,E )- Mov(C ,mp2 ,E )
>
> Actually there's a slight difference. The MACD() function uses factors of
0.15 and 0.075 for the
> respective exponential moving averages. The code above uses 2/13 and 2/27
as the EMA factors (of new
> data added on each bar). The difference is small but real.
>
> > So any expert MS expert know the basic code of Peak () and Trough ()
> > functions ?
>
> If you accept the existing ZigZag it should be possible. It's not
something I've looked at though.
>
> > Regards, Hani :)
>
>
>
> Kind regards
>
> Roy
> www.metastocktips.co.nz
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|