PureBytes Links
Trading Reference Links
|
Jan,
The MACD is the difference between two moving averages usually a 12
and 26. The Moving Average Convergence/Divergence indicator (MACD) is
calculated by subtracting the value of a 0.075 (26-period)
exponential moving average from a 0.15 (12-period) exponential moving
average. A 9-period dotted exponential moving average (the "signal
line") is automatically displayed on top of the MACD indicator line.
The ROC(rate of change) is a measure of todays value (usually the
close) to a value sometime in the past.
Measuring a top or bottom in a MACD is not going to be very useful.
If you are looking for a top or bottom a stochastic is going to be a
better choice. The following formula calculates a 5-period %K
Stochastic Oscillator with 3-period slowing:
(sum( C - llv(L,5), 3 ) / sum(hhv(H,5) - llv(L,5), 3) ) * 100
Notice that HHV and LLV...tops and bottoms are already part of the
calculation.
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, "j.geenen" <j.geenen@xxx>
wrote:
>
> Hi all
>
> Measuring MACD Tops and Bottoms with ROC is too noisy, is there
another
> way in MS to calculate or program this?
>
> Regards Jan
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "j.geenen" <j.geenen@> wrote:
> >
> > Hi all
> >
> > Is there a function in MS to code or calculate MACD tops and
bottoms
> so
> > I can use these in an Expert?
> >
> > Kindly regards, Jan
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|