Calculate correlation

Hi all,
Can somebody help me to create a code for correlation between symbols of the same database and pick up not correlated symbols?
Thanks,
Maury

@maury314 this was discussed previously

Searching the forum is always a good idea!
An easier to understand example was also addressed in this KB article:

3 Likes