[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EquisMetaStock Group] Weekly MACD histogram



PureBytes Links

Trading Reference Links

Alan



> I found the following formulas for daily and weekly MACD:

Don't take everything you find on the net as being accurate or even close to what they purport to
be. The daily MACD below is OK although slightly off the MetaStock canned version. The "weekly MACD"
is not even close. Ask yourself how a weekly formula can show 5 different values during one week,
none of which are anywhere near accurate.

If this works for you then great, but a weekly MACD it is not.

Roy

> 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
>
>
>
>
>
>
>




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/