PureBytes Links
Trading Reference Links
|
I questioned why the kama filter is slower than the slowest
parameter. It appears to me that the "s" parameter should not be
squared. Help?
n=Param("n",18,8,32,1);
fast=0.62;slow=0.062;
E=abs(C-Ref(C,-n)) / Sum(abs(C-Ref(C,-1)),n);
s=E*(fast-slow) + slow;
y2=AMA(C,s^2);
y=AMA(C,s);
MaxGraph=6;
Plot(AMA(C,slow),"ama(c,slow)",colorGreen);
Plot( Close, "Price", colorBlack, styleCandle );
Plot( y2,"kama2",colorYellow );
Plot( y,"kama",colorRed );
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/
|