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 ema . 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.