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

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.
Notas de prensa
Update to Request Securities to avoid repainting.Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.