+1 888 340 6572 GET STARTED

AMA_Q

Article/Author: “A Guide to Smarter Trading”, Perry Kaufman, S&C Magazine, Traders Tips, 03/1998

Download: FUNCTION-AMA_Q.ELA

File Includes: Function - AMA_Q

Category: Function > AMA_Q

Description:

Inputs:
Period -

EasyLanguage Code:
INPUT: PERIOD(NUMERIC);

AMA_Q = IFF(CURRENTBAR <= PERIOD, CLOSE, AMA_Q[1] + POWER(((ABSVALUE(CLOSE - CLOSE[PERIOD]) /
SUMMATION(ABSVALUE(CLOSE - CLOSE[1]),PERIOD) * .6022) + .0645),2) * (CLOSE - AMA_Q[1]))