The Future of Investing



Indicators
Examples and interpretation of many commonly used indicators.

Custom Formulas
Custom explorations, indicators and trading systems.

Price Charts
Examples and interpretation of all charts used in technical analysis.


MetaStock Formula - Adaptive Moving Average, by Perry Kaufman

rev. 01/06/97

This is a Metastock for Windows version 6.5 formula.

Periods := Input("Time Periods",1,1000, 10);

Direction := CLOSE - Ref(Close,-periods);

Volatility := Sum(Abs(ROC(CLOSE,1,$)),periods);

ER := Abs(Direction/Volatility);

FastSC := 2/(2 + 1);

SlowSC := 2/(30 + 1);

SSC := ER * (FastSC - SlowSC) + SlowSC;

Constant := Pwr(SSC,2);

AMA := If(Cum(1) = periods +1, ref(Close,-1) + constant * (CLOSE - ref(Close,-1)),Prev + constant * (CLOSE - PREV));

AMA

   

  

  

© Copyright 2004 Paritech Pty Ltd