Asset Correlation with XAU/USD (Macroeconomics X Gold)
380
This Pine Script calculates the correlation of economic assets with gold (XAU/USD), including indicators such as the DXY, the S&P 500, the US 10-year yield (US10Y), oil (USOIL), the USD/JPY pair, and the AUD/USD pair. The goal is to analyze the impact of these variables on the price of gold, particularly in a macroeconomic context.
Main Features:
Asset Monitoring: The script monitors 24-hour variations of six key assets (DXY, S&P 500, US10Y, USOIL, USDJPY, AUDUSD), along with the price of XAU/USD.
Percentage Change Calculation: The percentage change for each asset is calculated based on the previous day's close, compared to the most recent 5-minute close.
Direction Determination: The direction of each asset (whether the change is positive, negative, or neutral) is calculated and used to determine the potential impact on the price of gold.
Interactive Tables: The results of directions, variations, and impacts are displayed in a table on the screen, with each asset being evaluated by its weight (influence on gold) and direction. The table also includes arrows indicating the impact of each asset on the price of gold, based on the correlation between them.
Dominance: The overall dominance of gold is calculated based on the weights and directions of the assets, generating a result that reflects whether gold is trending upwards or downwards due to the other observed assets. An arrow symbol indicates whether the dominance is positive (⬆️), negative (⬇️), or neutral (—).
Table Details:
The table displays the monitored assets, their assigned weights, the direction (arrows up, down, or neutral), the percentage change of each asset, and the impact of these assets on the price of gold. The last column shows the "dominance" overall, with the final impact of these assets on the direction of the XAU/USD price.
Usage: This script is useful for traders and analysts who want to monitor how different macroeconomic factors (such as the value of the dollar, the S&P 500, US interest rates, oil prices, and currency pairs) influence the price of gold. It provides a clear view of how these assets correlate with gold, helping to make more informed decisions in the market.
For a better view of the table, right-click on >> visual order >> bring it to the top.
نص برمجي للمستخدمين المدعوين فقط
يمكن فقط للمستخدمين المصرح لهم من قبل المؤلف الوصول إلى هذا النص البرمجي، وهذا يتطلب عادةً الدفع. يمكنك إضافة النص البرمجي إلى مفضلاتك، ولكن لن تتمكن من استخدامه إلا بعد طلب الإذن والحصول عليه من مؤلفه - تعرف على المزيد هنا. لمزيد من التفاصيل، اتبع تعليمات المؤلف أدناه أو اتصل Norrax مباشرة.
لا توصي TradingView بالدفع مقابل برنامج نصي أو استخدامه إلا إذا كنت تثق تمامًا في مؤلفه وتفهم كيفية عمله. يمكنك أيضًا العثور على بدائل مجانية ومفتوحة المصدر في نصوص مجتمعنا.
تعليمات المؤلف
To access the indicator, send me a private msg. Thank you.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
يمكن فقط للمستخدمين المصرح لهم من قبل المؤلف الوصول إلى هذا النص البرمجي، وهذا يتطلب عادةً الدفع. يمكنك إضافة النص البرمجي إلى مفضلاتك، ولكن لن تتمكن من استخدامه إلا بعد طلب الإذن والحصول عليه من مؤلفه - تعرف على المزيد هنا. لمزيد من التفاصيل، اتبع تعليمات المؤلف أدناه أو اتصل Norrax مباشرة.
لا توصي TradingView بالدفع مقابل برنامج نصي أو استخدامه إلا إذا كنت تثق تمامًا في مؤلفه وتفهم كيفية عمله. يمكنك أيضًا العثور على بدائل مجانية ومفتوحة المصدر في نصوص مجتمعنا.
تعليمات المؤلف
To access the indicator, send me a private msg. Thank you.
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.