Technical Studies Reference
- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)
R Squared
This study calculates and displays the square of the Correlation Coefficient for the Bar Number and the data specified by the Input Data Input.
Let \(X\) be a random variable denoting the Input Data, let \(n\) denote the Length Input, and let \(\tau\) (tau) denote the current Bar Number, which is is simply the current Index plus one: \(\tau = t + 1\).
The value of R Squared at Index \(t\) for the given Inputs is \((\rho_t(\tau,X,n))^2\).
Inputs
Spreadsheet
The spreadsheet below contains the formulas for this study in Spreadsheet format. Save this Spreadsheet to the Data Files Folder.
Open it through File >> Open Spreadsheet.
*Last modified Monday, 03rd October, 2022.