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.
I created this script to compare cryptocurrencies that tend to be correlated, but it could also be used for forex or any other market. It is a fairly simple concept and compares price of each symbol to the specified period . This is helpful for tracking highly correlated symbols and visualizing moments when they are out of sync, perhaps signaling good times for buying or selling.
Want to use this script on a chart?