PureBytes Links
Trading Reference Links
|
You
have no reference for what EMA2 represents. Is this a different period EMA or
refers to previous periods? At any rate this should get your
started....
<SPAN
class=220221016-16052003>
<FONT
color=#282828>
//Zero Lag
EMA
<FONT
color=#0000ff>
Period=Param("What Period",10,1,250<FONT
color=#282828><FONT color=#0000ff face=Arial
size=2>);
EMA1=EMA(C<FONT
color=#0000ff face=Arial size=2>,Period);
EMA2=?????????
Difference=EMA1 - EMA2;
ZeroLagEMA=EMA1 +
Difference;
Plot(<FONT
color=#282828>ZeroLagEMA,<FONT
color=#ff00ff>"Zerolag EMA",<FONT
color=#ff00ff>4,<FONT
color=#ff00ff>1<FONT face=Arial
size=2>);
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: traderix2003
[mailto:d.adam@xxxxxxxxxx]Sent: Friday, May 16, 2003 12:06
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] ZERO
LAG MOVING AVERAGEHas somebody the formula for a " zero
lag EMA"?A friend of mine gave me the Metastock formula. Perhaps some one
could translate it:Zero Lag EMAPeriod:=Input("What
Period",1,250,10);EMA1=Mov(P,Period,E);Difference:=EMA1 -
EMA2;ZeroLagEMA:=EMA1 + Difference;ZeroLagEMAThxs for your
help.Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|