aamonkey

Correlation Coefficient based on Log Returns

Measuring correlations based on log returns, rather than raw prices or simple returns, offers several advantages:

- stationarity: Log returns are more stationary, resulting in more meaningful and reliable results
- volatility: Log returns give a consistent measure of relative changes of assets with different volatility

Log returns are time-additive and often more stationary than simple returns, making them statistically more reliable for analyses in financial contexts. Additionally, they provide a consistent measure of relative price changes and align more closely with the assumptions of many statistical models, including normal distribution.
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?