/NiC
Code: Select all
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]))
Code: Select all
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]))
The indicator is very small but I can not work .. Any suggestions?
/NiC
Code: Select all
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]))
The indicator is very small but I can not work .. Any suggestions?
/NiC
Code: Select all
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]))
Code: Select all
if denominator <> 0 then
value1 = numerator / denominator
else
value1 = 0;