This script utilized some new functions in Pine Script, which compares the correlation between the current symbol to a basket of crypto indexes that are listed on the FTX exchange.
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.