How do I calculate the rolling correlation between two series?

There are two main ways to achieve this:

1. Covariation analysis

The rolling correlation can be calculated using the Covariation analysis. Pick an explanatory series and define the window size by adjusting the length.

2. Formula language

Use the formula:

Correlation(series1, series2, window)