- July 1, 2013
- Posted by: Forex Wiki Team
- Category: FX Ind
Name: |
|
||
Author: | brother3th (2009.08.30 10:16) | ||
Downloaded: | 4197 | ||
Download: |
|
||
Kaufman’s Adaptive Moving Average.
|
|||
Thanks!
11.04.2012 15:18 excelf
KAMA[i] = KAMA[i+1] + sc * (Close[i] - KAMA[i+1]); ...it should be instead: KAMA[i] = (1-sc) * KAMA[i+1] + sc * (Close[i] - KAMA[i+1]); Wrong. The formula is KAMA[i] = (1-sc) * KAMA[i+1] + sc * Close[i] but that has significant problems with floating point round off. The first equation is equivalent but without the problems. 21.01.2010 19:12 WHRoeder
I think you got something wrong here... KAMA[i] = KAMA[i+1] + sc * (Close[i] - KAMA[i+1]); ...it should be instead: KAMA[i] = (1-sc) * KAMA[i+1] + sc * (Close[i] - KAMA[i+1]);
Cheers, |