OPEN-SOURCE SCRIPT
Relative Correlation Regime

A general-purpose tool for measuring the rolling relationship between two markets.
The indicator calculates correlation from price returns and classifies the current relationship into five regimes: Strong Positive, Positive, Neutral, Negative, and Strong Negative.
I designed it as a simple way to observe when relationships between markets strengthen, weaken, or diverge.
It can be applied across forex, commodities, indices, and crypto markets.
This indicator is intended for market research and analysis, not as a standalone trading signal.
The indicator calculates correlation from price returns and classifies the current relationship into five regimes: Strong Positive, Positive, Neutral, Negative, and Strong Negative.
I designed it as a simple way to observe when relationships between markets strengthen, weaken, or diverge.
It can be applied across forex, commodities, indices, and crypto markets.
This indicator is intended for market research and analysis, not as a standalone trading signal.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.