r squared formula?

This is a discussion on r squared formula? within the Trading Software forums, part of the Trading Tools category; does anyone know the formula for the r squared indicator. I have got the metastock version but it doesn't make ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Mar 1, 2003, 3:30pm   #1
Junior Member
 
73sand's Avatar
 
Member Since Dec 2001
Default r squared formula?

does anyone know the formula for the r squared indicator. I have got the metastock version but it doesn't make any sense. I just need the mathematical equation to put into a sierra worksheet.
73sand is offline   Reply With Quote
Old Mar 1, 2003, 4:07pm   #2
Registered
 
Skimbleshanks's Avatar
 
Member Since Nov 2000
Default Re: r squared formula?

Welcome to T2W 73sand.

The formula is here, and there are also plenty of other formulae in case you feel adventurous.

http://www.mtsu.edu/~stats/dictionary/formula.htm#r

and this link has the formula already done in TradeStation language:

http://klub.chip.pl/tsfp/t-pb-R-Squared.html


R Squared in Metastock is:

pwr(corr(cum(1),C,5,0),2)
or
Pwr(Corr(Cum( 1 ),C,14,0),2)
or, for a smoothed version:
Mov(Pwr(Corr(Cum( 1 ),C,14,0),2)*100,14,S)

I believe that probably the most indepth analysis of this is in book The New Technical Trader by Chande & Kroll. I've not got the book though, so I cannot confirm this.
Skimbleshanks is offline   Reply With Quote
Old Mar 2, 2003, 6:17am   #3
Junior Member
 
73sand's Avatar
 
Member Since Dec 2001
Default Re: r squared formula?

73sand started this thread nothing is ever easy,is it . Transferring meta-stock to sierra seems impossible.The formula has components within components that need to be worked out. Thanks for the formula .Thank god I studied pure maths.
73sand is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search