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

KaufmanAdaptiveMovingAverage



PureBytes Links

Trading Reference Links

Relative to the discussions on indicators, and cycles, I am sending
versions of the KAMAs in elas for ts4.  These have been adjusted to make
a Fibonacci series of numbers and as the gif shows, tend to reveal
significant support and resistance zones.  Included also is an inverse
series of the same indicators which I use to make VIX and TRIN more
readable.

Below is the KAMA inverse 2.0 indicator code.  Hopefully these
indicators and the gif can be useful for further discussion and for
trading.  (Members of the TSCodeList have already gotten a similar post,
so may wish to delete this).

___________________
INPUTS: PERIOD(10);
VARS:
NOISE(0),SIGNAL(0),DIFF(0),EFRATIO(0),SMOOTH(1),FASTEND(.666),SLOWEND(.0645),AMA(0);

DIFF = @ABSVALUE(CLOSE-CLOSE[1]);
IF(CURRENTBAR<=PERIOD) THEN AMA=CLOSE;
IF (CURRENTBAR>PERIOD) THEN BEGIN
    SIGNAL = @ABSVALUE(CLOSE-CLOSE[PERIOD]);
    NOISE = @SUMMATION(DIFF,PERIOD);
    EFRATIO = iff(noise<>0,SIGNAL/NOISE,1);
    SMOOTH = @POWER(EFRATIO*(FASTEND-SLOWEND)+SLOWEND,2.00);

AMA = AMA[1]+SMOOTH*(CLOSE-AMA[1]);
PLOT1(1/AMA,"AMA inv");
END;
___________________

Under the line starting with SMOOTH above, see the number at the end of
the line (in 4th to the last line). This number is adjusted to a series
of 0.5, 1.0, 2.0, 2.618, 4.236, and 6.850 as shown in the gif

Hope this is useful to some.  Maybe applying this indicator to a system
would be of use.  I use them for discretionary trading of the sp.

Take care,

Don
Attachment Converted: "c:\eudora\attach\snap0430amaks.gif"

Attachment Converted: "c:\eudora\attach\Amakfibs.ela"

Attachment Converted: "c:\eudora\attach\Amakinfb.ela"