PureBytes Links
Trading Reference Links
|
Anthony,
Shouldn't it be:
R2 = Correlation(P, ref(P,-periods),periods)^2; ?
Al V.
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Anthony Faragasso
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, February 14, 2003 8:10
PM
Subject: Re: [amibroker] r-squared and
regression analysis
/***Base Market************/Mkt="^ndx";//Must be
enclosed in "....."Quotations.P=Foreign(Mkt,"C",1);//Base
marketPeriods=14;//Set the period of
Observation/***R-Squared*****************/R2=Correlation(P,C,Periods)^2;"sidleysh
" wrote:> Does anyone know how to construct r-squared in AB?
There is an r-> squared function in MetaStock, and I desperately need
it to construct> and adaptive MA based on the AT3 from
T&A>>>
Yahoo! Groups
Sponsor
ADVERTISEMENT>> Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx> (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>>
Check group FAQ at:> <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>>
Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|