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

[Metastockusers] Re: the built in MACD indicator



PureBytes Links

Trading Reference Links

The standard MACD is 12,26,9 periods

here is the following code that includes a histogram

A:=Mov(MP(),12,E)-Mov(MP(),26,E);
Sig:=Mov(A,9,E);
Hist:=A-Sig;
RedH:=If(Hist<Ref(Hist,-1),Hist,0);
GreenH:=If(Hist>Ref(Hist,-1),Hist,0);
RedH;GreenH;Sig;A;

Henry
--- In Metastockusers@xxxxxxxxxxxxxxx, <uhehs@xxxx> wrote:
> What are the default settings for this when it is dragged and 
dropped into a
> chart?
> I am using "5" for my Signal Line period.
> So what does that make my MACD the difference of? [what moving 
average
> lengths]
> 
> Thanks all.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/