PureBytes Links
Trading Reference Links
|
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 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/
|