OPEN-SOURCE SCRIPT
Diupdate

๐Ÿ›๏ธ ๐™ˆ๐™–๐™˜๐™ง๐™ค-๐™๐™ง๐™š๐™ฃ๐™™ ๐“œ๐“ช๐“ฝ๐“ป๐“ฒ๐” ๐Ÿ›๏ธ

170
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.
Catatan Rilis
Update to Request Securities to avoid repainting.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.