Basic Explanation of the Indicator
This indicator calculates an asset's Pearson's R coefficient when compared with several different lags of the stock's price. After that, the oscillator checks whether the indicator is in the green or red compared to those correlations, and takes the sum of the correlative periods to predict which direction the market should go based on the relationship of the current price with its past correlations.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.