OPEN-SOURCE SCRIPT
已更新 🏛️ 𝙈𝙖𝙘𝙧𝙤-𝙏𝙧𝙚𝙣𝙙 𝓜𝓪𝓽𝓻𝓲𝔁 🏛️

This script aims to determine the relationship between the user's selected ticker and the macro-market by examining data from Currencies, Bonds, SPX, GOLD, and Liquidity. The indicator evaluates the trends of different symbols and their connection to the chosen ticker to create an implied trend.
Trend Calculation
It calculates the trend using two exponential moving averages with adjustable lengths.
Correlation Calculation
The correlation is computed using TradingView's built-in ta.correlation function, comparing the user's ticker with the macro ticker.
Score Calculation
The score is determined by multiplying the macro ticker's trend value by its correlation with the user's chosen ticker.
Results
The results provide the average data and indicate the Rate of Change of that figure.
Table
The table can be either "Simple" or "Full," displaying either just the result or all the metrics of the tickers.
Trend Calculation
It calculates the trend using two exponential moving averages with adjustable lengths.
Correlation Calculation
The correlation is computed using TradingView's built-in ta.correlation function, comparing the user's ticker with the macro ticker.
Score Calculation
The score is determined by multiplying the macro ticker's trend value by its correlation with the user's chosen ticker.
Results
The results provide the average data and indicate the Rate of Change of that figure.
Table
The table can be either "Simple" or "Full," displaying either just the result or all the metrics of the tickers.
發行說明
Update to Request Securities to avoid repainting.開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。