aksh
Junior Member

Posts: 5
Registered: 3-7-2007
Member Is Offline
|
|
posted on 11-1-2009 at 05:33 AM
|
|
|
Full Code for Tema EMA
Shortened code for Dema of x periods is : 2*Mov(C,x,E) - Mov(Mov(C,x,E),x,E) which is derived from the following
{Dema}
EMA1:= Mov(CLOSE,x,E);
EMA2:= Mov(EMA1,x,E);
Difference:= EMA1 - EMA2;
DemaX:= EMA1 + Difference;
How is Tema { shortened code : 3*Mov(C,x,E)-3*Mov(Mov(C,x,E),x,E)+Mov(Mov(Mov(C,x,E),x,E),x,E) } derived?
Can anybody give the full code for Tema to derive the above shortened formula?
Thanks in advance
aksh
|
|
|
|