OPEN-SOURCE SCRIPT
Updated Master Correlation Table

This indicator features macroeconomic correlation from 4 areas: Stock Indices, Bond Yields, Currency Indices and Commodities.
Assets used in this Correlation Table are split into two kinds:
- Large Economies: Stock Indices, Bond Yields and Currency Indices from 3 largest economies in the world (US, China, EU) are always included in the Average Implied Trend calculation.
- Strong/Weak: Assets that don't belong to previous kind and all commodities, these are filtered based on their current correlation strength, if their strength is weaker than the average they are not included in the Average Implied Trend calculation.
Values for correlation strength filter were determined from personal research and are set as default in code, they can be customized or fully removed (set to 0).
This Correlation Table only includes major Commodities and Stock Indices, Bond Yields, Currency Indices from Top 10 countries ranked by GDP that also have impact in the world.
All the tickers used are fully customizable along with the table colors to the user's liking.
Credits to IkkeOmar for the Normalized Kama Oscillator
Credits to Mukuro-Hoshimiya for core codes of this indicator
Assets used in this Correlation Table are split into two kinds:
- Large Economies: Stock Indices, Bond Yields and Currency Indices from 3 largest economies in the world (US, China, EU) are always included in the Average Implied Trend calculation.
- Strong/Weak: Assets that don't belong to previous kind and all commodities, these are filtered based on their current correlation strength, if their strength is weaker than the average they are not included in the Average Implied Trend calculation.
Values for correlation strength filter were determined from personal research and are set as default in code, they can be customized or fully removed (set to 0).
This Correlation Table only includes major Commodities and Stock Indices, Bond Yields, Currency Indices from Top 10 countries ranked by GDP that also have impact in the world.
All the tickers used are fully customizable along with the table colors to the user's liking.
Credits to IkkeOmar for the Normalized Kama Oscillator
Credits to Mukuro-Hoshimiya for core codes of this indicator
Release Notes
Automated the filter process and added option to choose your own filter values.Release Notes
Fixed filter error with commoditiesOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.