OPEN-SOURCE SCRIPT
Aggiornato ๐๏ธ ๐๐๐๐ง๐ค-๐๐ง๐๐ฃ๐ ๐๐ช๐ฝ๐ป๐ฒ๐ ๐๏ธ

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.
Note di rilascio
Update to Request Securities to avoid repainting.Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalitร . Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice รจ soggetta al nostro Regolamento.
Declinazione di responsabilitร
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalitร . Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice รจ soggetta al nostro Regolamento.
Declinazione di responsabilitร
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.