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

[amibroker] Kalman's Filter Formula



PureBytes Links

Trading Reference Links


Hi ,  someone knows the formula of the Kalman's Filter  for amibroker
( not the T3 formula ) ????

For Tradestation is :

{Function name= KF}
INPUT:
K1(Numeric),
BP(NumericSeries);
VARS:
Pred(BP),
Smooth(0),
Velo(0),
DeltaK(0),
stderr(0),
error(0),
sumerr(0) ;
IF currentbar > 1 then BEGIN

DeltaK = BP -Pred;
Smooth = Pred + DeltaK* SquareRoot( (K1/10000)*2 ) ;
Velo= Velo + ((K1/10000)*Deltak) ;
Pred = Smooth + Velo ;

KF=Pred;
END; 


Thanks  Riccardo







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/