PureBytes Links
Trading Reference Links
|
Terry,
I came up with this function a while ago and then Dimitri did some work on
finding optimal values. You might search the archeives for his work.....
Regards,
Jayson
//the Ti3 average
function T3(price,periods,s)
{
e1=EMA(price,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;
Ti3=c1*e6+c2*e5+c3*e4+c4*e3;
return ti3;
}
pd1=Param("Long",40,10,100,1);
pd2=Param("Short" ,10,5,50,1);
Plot(t3(C,pd1,.71),"T3 "
+"("+WriteVal(pd1,1.0)+")",colorYellow,1|styleThick);
Plot(t3(C,pd2,.74),"T3" +"("+WriteVal(pd2,1.0)+")",colorBlue,1|styleThick);
-----Original Message-----
From: Terry [mailto:MagicTH@xxxxxxxxxxx]
Sent: Monday, August 02, 2004 2:45 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Help!!!Tillson T3 and Price Channel
I donšt know if this is the Tillson T3, but it is a T3 indicator. (Also
included as attachment).
/* T3 trading system */
a = 0.618;
n = 24;
alpha = 2/(n + 1);
e1 = EMA(Close, n);
e2 = EMA (e1, n);
e3 = EMA (e2, n);
e4 = EMA (e3, n);
e5 = EMA (e4, n);
e6 = EMA (e5, n);
T3 = -a^3 * e6 + (3 * a^2 +3 * a^3) * e5 + (-6 * a^2 - 3 *
a - 3 * a^3) * e4 + (1 + 3 * a + a^3 + 3 * a^2) * e3;
Graph0 = Close;
Graph1 = T3;
Graph2 = EMA(Close,24);
Graph2Color=28;
Graph2Style=1;
Sell = Cross ( Close, T3 );
Buy = Cross (T3, Close );
Short = Cross ( Close, T3);
Cover = Cross (T3, Close );
Terry
--
> people where i can find AFL files for Tillson T3 and Price Channel
> please help me
> if anybody has already please e-mail to me md_nemo@xxxxxxxxx
>
>
[Non-text portions of this message have been removed]
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
b.. To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/
|