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

[amibroker] Conversion of Metastock Code



PureBytes Links

Trading Reference Links


Hi to all,

Can some one convert the Metastock code to AFL

pdsRoc:=6;
pdsEma:=10;
smooth:=8;

TSI:=100*Mov(Mov(ROC(C,pdsRoc,%),pdsEma,E),smooth,E)/
Mov(Mov(Abs(ROC(C,pdsRoc,%)),pdsEma,E),smooth,E);
SlopeSig:= If(TSI>Ref(TSI,-1),1,If(TSI<Ref(TSI,-1),-1,0));
Mov(SlopeSig,4,VOL);

I am stuck at "ROC…,%"

Thanks in advance

G.A.Chandrasekaran






------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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