Isn't this equivalent or roughly equivalent to a DEMA ...

--- In [email protected], "Paul Ho" <[EMAIL PROTECTED]> wrote:
>
>  I use this one, looks close enough to what he is talking about. 
It is some
> kind of FIR……but it doesn't provide code.
> 
> function ITrend(array, alpha)
> 
> {
> 
>   // initialize early array values and declare as array
> 
>   it = array; //(array + Ref(array, -1) * 2 + Ref(array, -2))/4;
> 
>   //it = (array[2] - 2*array[1] + array[0])/4; This initialization 
takes a
> long time to converge.
> 
>   for(i = 2; i < BarCount; i++)
> 
>   {
> 
>     it[i] = (alpha - alpha^2/4)*array[i] + 
> 
>          .5*alpha^2*array[i-1] -
> 
>          (alpha - .75*alpha^2)*array[i-2] +
> 
>          2*(1 - alpha)*it[i-1] -
> 
>          (1 - alpha)^2*it[i-2];
> 
>   }
> 
>   return it;
> 
> }
> 
> Its from Elhers' book. Alpha = 2/(period + 1); It has zero lag, I 
found
> centering to be real bad for forecast as the  averages finishes x 
bars ago
> and AB copies the last known bar across these x bars, causing AR 
prediction
> to flat line initially. 
> 
>  
> 
>   _____  
> 
> From: [email protected] [mailto:amibroker-
[EMAIL PROTECTED] On
> Behalf Of Tom Tom
> Sent: Thursday, 30 November 2006 10:05 AM
> To: [email protected]
> Subject: [amibroker-ts] Moving Average... one more again : )
> 
>  
> 
> Hello,
> 
> I was just surfing and find this :
> http://www.tradecis
> 
<http://www.tradecision.com/product/special_techniques/ingeniousma.ht
m>
> ion.com/product/special_techniques/ingeniousma.htm
> 
> Always competition between T3, Jurik, etc... and this one say it 
is the 
> better one (what a good advertisment! héhé).
> 
> Does someone try it ? On what does it rely (noise filter 
adaptative based on
> 
> statistics, use prediction so it can be a little shiffted 
backward, use 
> volume or volatility information or any other technics to filter 
noise, use 
> fitting method...etc ??).
> It is consistent in time ?... . i mean, when a new data arrive it 
didn't 
> change old MA values (not like Fit or Predict. methods wich are 
not 
> consistent because some past values are computed from less old 
past value).
> 
> Thanks.
> Cheers,
> Mich.
> 
> __________________________________________________________
> Live.com: le nouveau moteur de recherche par Messenger! 
> http://www.windowsl <http://www.windowslive.fr/livecom/> 
ive.fr/livecom/
> 
>  
> 
> 
> 
> [Non-text portions of this message have been removed]
>


Reply via email to