How to calculate the correlation coefficient?

Forums ProRealTime English forum ProBuilder support How to calculate the correlation coefficient?

Viewing 6 posts - 1 through 6 (of 6 total)
  • #72405

    From this URL I can use draw the Linear-Regression on a stock. But I wonder how to calculate its ‘correlation coefficient’? My purpose is to scan stocks with higher ‘correlation coefficient’ or smaller valatility.

    It seems there is no function called Correlation by ProRealCode?

     

     

    #72406
    #72412

    You can try to use the R-squared instruction, it measures the error rate of the linear regression on selected price.

    1 user thanked author for this post.
    #72437

    Hi Nicolas,

    Many thanks. But as I use the LinearRegression-Indicator posted in your URL above, I failt to see the lines for stock EHC. Why?

    #72443

    I don’t know. Do you have sufficient data for the chosen period of the channel? Did you change the percentage to test different settings?

    #72461

    Ok, I change the length from 100 to 20, then I can see it.

    1 user thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login