Correlation

Category: momentum

Calculates the Pearson Correlation Coefficient between two series over a specified rolling window.

Formula

r = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum (x_i - \bar{x})^2 \sum (y_i - \bar{y})^2}}

See signal primitives and every published strategy that uses Correlation on WOBR StrategyVerse.


Open the interactive page on WOBR AI → · WOBR.AI home