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

[EquisMetaStock Group] Re: Macd Histogram



PureBytes Links

Trading Reference Links

Deb, try this exploration filter code:

---8<---------------------------------

Q:=14; {Relative Strength Time Periods}

z:=Wilders(If(ROC(C,1,$)>0,ROC(C,1,$),0),LastValue(Q));
y:=Wilders(If(ROC(C,1,$)<0,Abs(ROC(C,1,$)),0),LastValue(Q));
ZY:=Z/Y;
RS:=100-(100/(1+ZY));
RSMACD:=Mov(RS,12,E)-Mov(RS,25,E);

up:=Cross(RSMACD,0);
down:=Cross(0,RSMACD);

up

---8<---------------------------------


jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, "debidougle" 
<discountbabybrands@xxxx> wrote:
>
> Hi, wondered if anyone can help.
> I am trying to add an explorer to the "Macd of relative strength 
> indicator" I found on another website..
> I really like this on my charts here is the formula 
>
> "Q:=Input("Relative Strength Time Periods",3,100,14);
> z:=Wilders(If(ROC(C,1,$)>0,ROC(C,1,$),0),LastValue(Q));
> y:=Wilders(If(ROC(C,1,$)<0,Abs(ROC(C,1,$)),0),LastValue(Q));
> ZY:=Z/Y;
> RS:=100-(100/(1+ZY));
> RSMACD:=Mov(RS,12,E)-Mov(RS,25,E);
> RSMACD"
> 
> What I am trying to do is to make the Metastock explorer filter
> stocks that have crossed the "0" horizontal line on the histogram.
> 
> If anyone one can help that would be brilliant.
> 
> Thanks
> Deb







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/