By tracking these indexes we can gauge the reaction across markets that have a different market cap. By that I mean we can have a better idea about where the money is flowing into a specific market.
This script uses data from FTX:BTCPERP, FTX:ALTPERP, FTX:MIDPERP, FTX:SHITPERP, FTX:EXCHPERP, FTX:DRGNPERP.
A value closer to 1 equals to more correlation, closer to 0 equals to less correlation.
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.