PureBytes Links
Trading Reference Links
|
Day of Week 5 refers to the 5th
day for the week, this being Friday.
For example, Day of week 2 is a Tuesday.
<span
>-----Original Message-----
From: Alan Davidson
[mailto:alan_davidson22@xxxxxxxxxxx]
Sent: Saturday, March 27, 2004
5:51 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group]
Weekly MACD histogram
<span
>
<span
>I found the following formulas for daily and weekly
MACD:
Daily:
( Mov( {start}C{end},12,E ) - Mov( C,26,E ) ) -
Mov( ( Mov( C,12,E ) -
Mov( C,26,E ) ),9,E )
Weekly:
Mov({start}If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1))
{end},60,E)-
Mov(If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1)),130,E)-
Mov(Mov(If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1)),60,E)-
Mov(If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1)),130,E),45,E)
As a newbie, I'd be grateful if someone could help
me to understand
the bit of the weekly formula between the {start}
and {end}
comments.
I know that this will correspond to the
"C" between {start} and {end}
in the daily formula.
I understand what "Peak" does.
I don't understand what "DayOfWeek" is
doing.
Regards,
Alan
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|