If you used another window for each symbol, you would have to resize them all one by one. You don't need another timescale.
There are three modes:
► Independent - selected symbol candles are colored on their own.
► Correlational - selected symbol candles are colored depending on their relation to the chart symbol. If it is correlational, 1st color is chosen (both have Close higher than Open). 2nd color will be used for the opposite.
► Anti-Correlational - the opposite of Correlational
To display my indicator, I chose USDCAD and Oil . Canada has the second-largest oil reserves in the world and naturally, they are their neighbor's supplier. If the oil price goes up, USDCAD should be tanking, unless a different major influence(s) happen to be stronger at a time.
• an ability to write your own description of the symbol. For example, if you want to publish an idea and use some less viewed ticker, this might be handy
• built-in calculation for the correlation
• 50 & 200 SMA & EMA
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.