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

Re: Plotting MACD



PureBytes Links

Trading Reference Links

Ed,
The answer is at
http://www.equis.com/customer/support/formulas/cf00057.html

reproduced here:


These two formulas are for the Dr. Alexander Elder indicators.

The custom formula for the MACD Histogram is: 

( Mov( C,12,E ) - Mov( C,26,E ) ) - Mov( ( Mov( C,12,E ) - Mov( C,26,E ) ),9,E ) 

The custom formula for the Weekly MACD Histogram utilizing daily data is:

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


YOu can plot both the histogram and MACD together just as you
can plot any of the metastock indicators together.  I hope this
answers your question.

Enjoy,
Jeff


Ed wrote:
>
>Hi, does anyone know if I could plot the MACD indicator together with a =
>histogram (being the difference of the MACD and its moving average) =
>within a single inner window?
>Please refer to the attached chart for sample.=20
>Thanks in advance.
>
>Ed
>