[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time Series Forecast



PureBytes Links

Trading Reference Links

hi could you you lend me an eye
can't seemto get it to caculate
properly it'll give the close fine
but caculates the forecast an odd
number.ie close=8019 forecast =1.7892
did i type something wrong
thank you for your time dave
> See if this gets through.
> 
> T1=7; //Periods
> 
> Y=C; //array
> 
> TSF=LinRegSlope(Y,T1)+((T1*Sum(Cum(1)*Y,T1)-Sum(Cum(1),T1)*Sum
(Y,T1))/(T1*Sum((Cum(1)^2),T1)-
> 
> (Sum(Cum(1),T1)^2))*Cum(1)+(MA(Y,T1)-MA(Cum(1),T1)*(T1*Sum(Cum(1)
*Y,T1)-
> 
> Sum(Cum(1),T1)*Sum(Y,T1))/(T1*Sum((Cum(1)^2),T1)-(Sum(Cum(1),T1)
^2))));
> 
> GraphXSpace=2;
> 
> Graph0=TSF;
> 
> Graph1=Y;
> 
> Title="Time Series Forecast Periods="+WriteVal(T1);
> 
> -CS
> ----- Original Message ----- 
> From: pacific5_au 
> To: amibroker@xxxx 
> Sent: Sunday, April 21, 2002 5:08 PM
> Subject: [amibroker] Re: Time Series Forecast
> 
> 
> Hi CS
> 
> Thanks for your post. Unfortunately the file is empty 0 kb when 
down 
> loaded. Could you plse re-up the file as a zip file or just post 
the 
> code text. (a Yahoo situation.)
> 
> Many thanks
> 
> pacific
> 
> --- In amibroker@xxxx, "CS" <csaxe@xxxx> wrote:
> > -CS
> > ----- Original Message ----- 
> > From: Owen Davies 
> > To: amibroker@xxxx 
> > Sent: Sunday, April 21, 2002 8:25 AM
> > Subject: [amibroker] Time Series Forecast
> > 
> > 
> > Has anyone coded this Metastock indicator for AmiBroker?
> > According to the Equis Help description, it's the end point of
> > the linear regression line plus the slope. Not something I'm
> > competent enough to produce for AB, alas.
> > 
> > Thanks.
> > 
> > Owen Davies
> > 
> > 
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
> Service.
> 
> 
> Yahoo! Groups Sponsor 
> ADVERTISEMENT
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.