The definition:
Pearson's correlation coefficient is the covariance of the two variables divided by the product of their standard deviations. The form of the definition involves a "product moment", that is, the mean (the first moment about the origin) of the product of the mean-adjusted random variables; hence the modifier product-moment in the name.More information you can find here : https://en.wikipedia.org/wiki/Pearson_correlation_coefficient
This version:
This version allows us to calculate the coefficient on the symbol itself as well as to calculate the correlation coefficient of two symbols.
Usage:
As any correlation indicator - when the expected correlation is deviation, that can be used as a signal to take appropriate action (in correlation trading style)
Example(s):
Current symbol with 1 bar lag

Foreign symbol with 0 bar lag

Step chart RSI of average
Short description.
Step chart of stochastic of averages
Step chart of stochastic of averages