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

[spam] Re: Question for Moderator



PureBytes Links

Trading Reference Links

the T3 is available in the yahoofiles in the form of a DLL named hbt3a:

http://groups.yahoo.com/group/amibroker/files/Herman%20van%20den%20Bergen/

and also in afl as:

Periods = 9;
s = 0.84;
e1=EMA(Close,Periods);
e2=EMA(e1,Periods);
e3=EMA(e2,Periods);
e4=EMA(e3,Periods);
e5=EMA(e4,Periods);
e6=EMA(e5,Periods);
c1=-s*s*s;
c2=3*s*s+3*s*s*s;
c3=-6*s*s-3*s-3*s*s*s;
c4=1+3*s+s*s*s+3*s*s;
T3=c1*e6+c2*e5+c3*e4+c4*e3;

herman,

-----Original Message-----
From: Prashanth [mailto:prash454@xxxxxxxx]
Sent: Wednesday, February 04, 2004 3:01 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Better Moving Averages and Oscillators


Hi,

Has anyone coded the metastock formula into afl for "Better Moving
Averages and Oscillators" by CedarCreekTrading in his post.

Metastock code given in the document;

Thus the Metastock 6.5 code for T3 is:

periods:=Input("Periods? ",1,63,5);
a:=Input("Hot? ",0,2,.7);
e1:=Mov(P,periods,E);
e2:=Mov(e1,periods,E);
e3:=Mov(e2,periods,E);
e4:=Mov(e3,periods,E);
e5:=Mov(e4,periods,E);
e6:=Mov(e5,periods,E);
c1:=-a*a*a;
c2:=3*a*a+3*a*a*a;
c3:=-6*a*a-3*a-3*a*a*a;
c4:=1+3*a+a*a*a+3*a*a;
c1*e6+c2*e5+c3*e4+c4*e3;


Thanks in advance

Prashanth



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

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/





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 

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/