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

RE: [amibroker] Amibroker-AT group - Herman



PureBytes Links

Trading Reference Links

Hi Dimitris,

Where does the KAMA (T1,V2,V3) function come from? I am not aware that there
is a list of functions which can be downloaded for use in a code.

Herbert

----- Original Message ----- 
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 19, 2004 3:03 PM
Subject: [amibroker] Re: Perry Kaufman Adaptive Moving Average


> You may also use the function property for easier coding
> function KAMA(T1,V2,V3)
> {
> F1=2/(V2+1);
> S1=2/(V3+1);
> ER=(abs(C-Ref(C,-T1))/Sum(abs(C-Ref(C,-1)),T1));
> A1=ER*(F1-S1)+S1;
> A2=A1^2;
> K=AMA2(C,A2,1-A2);
> return K;
> }
> //Add now various KAMA lines
> Plot(KAMA(5,2,15),"KAMA1",1,8);
> Plot(KAMA(10,2,15),"KAMA2",2,8);
> Plot(KAMA(10,4,30),"KAMA3",3,8);
> Dimitris Tsokakis
> --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
> wrote:
> > CS was kind enough to give KAMA formula some time ago.
> > See #12863 to #12902
> > Dimitris Tsokakis
> > --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS"
> <TSOKAKIS@xxxx>
> > wrote:
> > > x1=MA(C,20);
> > > x2=MA(C,30);
> > > Plot(x1,"",1,1);Plot(x2,"",2,1);
> > > would solve for MAs.
> > > Try a similar method for your
> > > y1=KAMA1;
> > > y2=KAMA2;
> > > If you dont mind, post your KAMA formula to fix it.
> > > Dimitris Tsokakis
> > > --- In amibroker@xxxxxxxxxxxxxxx, "traderix2003" <d.adam@xxxx>
> > wrote:
> > > > I would like to have  TWO  KAMA on my chart i.e one with 10
> > periods
> > > > and another with 20.
> > > > It should give much better signals than the Moving Averges
> (lag).
> > > > I have the formula for one Kama but I am not able to get a
> second
> > > > one on my chart.
> > > >
> > > > Somebody could help me?  Thxs a lot.
> > > > Traderix
>
>
>
> 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
>
>
>
>
>
>




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/