TradingView
alexgrover
7 de May. de 2021 7:26

Correlation Matrix 

Advanced Micro Devices, Inc.NASDAQ

Descripción

Returns a 4x4 correlation matrix between various user-selected symbols. Users can change the window of the correlation with the setting length.

Correlation matrices can be useful to see the linear relationship between various symbols, this is an important tool for diversification.
Comentarios
ICEKI
Lovely, simple and effective corrleations matrix!
Appreciated your posting mate; keep it up <3
A_Traders_Edge
If I may....im not too familiar with arrays yet, so what is holding this back from producing a higher level matrices? 16,32 correlation matrix? Thanks for your time and have a great day. How old are you btw? been meaning to ask? I Know I saw it before but I couldnt find it again and forgot.
Pratik_4Clover
Lovely! Thank you ^^
artemlomtev
Perfect! How to make 20x20?
OrcChieftain
Is this basically ta.correlation(a,b,len) or does it work any differently?
Más